:root {
  color-scheme: dark;
  --bg: #130b12;
  --bg-soft: #1d111b;
  --panel: #251723;
  --panel-strong: #301c2c;
  --text: #fff7fb;
  --muted: #d7bdcb;
  --line: #553247;
  --rose: #ff7aa8;
  --rose-strong: #ff5f96;
  --blue: #90b9ff;
  --yellow: #f1cf7a;
  --indigo: #b69cff;
  --shadow: rgba(0, 0, 0, 0.34);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 122, 168, 0.18), transparent 27rem),
    radial-gradient(circle at 88% 8%, rgba(182, 156, 255, 0.14), transparent 24rem),
    linear-gradient(180deg, rgba(19, 11, 18, 0.24), var(--bg) 42rem),
    var(--bg);
  color: var(--text);
}

a {
  color: var(--rose);
  text-decoration-thickness: 0.12rem;
  text-underline-offset: 0.2rem;
}

a:hover,
a:focus {
  color: var(--yellow);
}

img {
  max-width: 100%;
  height: auto;
}

header,
.bg-white,
.bg-gray-50,
.bg-gray-100,
.bg-rose-50,
.bg-rose-100,
.bg-pink-100,
.bg-indigo-100,
.bg-yellow-100,
.bg-blue-100 {
  background: rgba(29, 17, 27, 0.82) !important;
}

header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(255, 122, 168, 0.18);
  backdrop-filter: blur(14px);
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

section {
  border-color: rgba(255, 122, 168, 0.14);
}

footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  border-top: 1px solid rgba(255, 122, 168, 0.18);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
.text-gray-900,
.text-gray-800 {
  color: var(--text) !important;
  letter-spacing: 0;
}

p,
li,
.text-gray-700,
.text-gray-600,
.text-gray-500,
.text-gray-400 {
  color: var(--muted) !important;
}

.text-rose-800,
.text-rose-700,
.text-pink-700,
.text-pink-600 {
  color: var(--rose) !important;
}

.text-blue-800,
.text-blue-700,
.text-blue-600 {
  color: var(--blue) !important;
}

.text-yellow-700,
.text-yellow-600 {
  color: var(--yellow) !important;
}

.text-indigo-700 {
  color: var(--indigo) !important;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.mx-auto {
  margin-inline: auto;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.px-6 {
  padding-inline: 1.5rem;
}

.px-4 {
  padding-inline: 1rem;
}

.py-2 {
  padding-block: 0.5rem;
}

.py-3 {
  padding-block: 0.75rem;
}

.py-4 {
  padding-block: 1rem;
}

.py-6 {
  padding-block: 1.5rem;
}

.py-10 {
  padding-block: 2.5rem;
}

.py-12 {
  padding-block: 3rem;
}

.py-16 {
  padding-block: 4rem;
}

.p-6 {
  padding: 1.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.ml-6 {
  margin-left: 1.5rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.flex {
  display: flex;
}

.inline-block {
  display: inline-block;
}

.block {
  display: block;
}

.grid {
  display: grid;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.justify-between {
  justify-content: space-between;
}

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

.flex-col {
  flex-direction: column;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-10 {
  gap: 2.5rem;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

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

.text-sm {
  font-size: 0.92rem;
}

.text-lg {
  font-size: 1.08rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.text-3xl {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.text-4xl {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

.text-5xl {
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.96;
}

.text-6xl {
  font-size: clamp(3.8rem, 10vw, 7rem);
  line-height: 0.92;
}

.font-bold,
.font-semibold,
.font-extrabold {
  font-weight: 780;
}

.italic {
  font-style: italic;
}

.prose {
  max-width: 78ch;
}

.prose p,
.prose li,
p,
li {
  font-size: 1.04rem;
  line-height: 1.7;
}

.prose h2,
.prose h3,
.prose h4 {
  margin-top: 2rem;
}

.rounded,
.rounded-lg,
.rounded-full {
  border-radius: 0.65rem;
}

.rounded-full {
  border-radius: 999px;
}

.shadow,
.shadow-md,
.shadow-lg {
  box-shadow: 0 1rem 3rem var(--shadow);
}

.border {
  border: 1px solid var(--line);
}

.bg-white.border,
.bg-rose-50,
.border,
article,
.shadow {
  background: linear-gradient(180deg, var(--panel-strong), var(--panel)) !important;
}

.hover\:shadow-md:hover,
.hover\:shadow-lg:hover {
  box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, 0.42);
}

.transition {
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.transition:hover {
  transform: translateY(-1px);
}

.h-10 {
  height: 2.5rem;
}

.min-h-screen {
  min-height: 100vh;
}

.w-48 {
  width: 12rem;
}

.list-disc {
  list-style-type: disc;
}

.list-inside {
  list-style-position: inside;
}

ol,
ul {
  padding-left: 1.25rem;
}

.bg-pink-600,
.bg-pink-700,
.bg-rose-700,
.bg-blue-600 {
  background: linear-gradient(135deg, var(--rose-strong), var(--indigo)) !important;
  color: #160b13 !important;
  border: 0;
}

.hover\:bg-pink-700:hover,
.hover\:bg-rose-800:hover,
.hover\:bg-blue-700:hover {
  filter: brightness(1.08);
}

.text-white {
  color: #160b13 !important;
}

code {
  padding: 0.15rem 0.3rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--yellow);
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  header .flex {
    display: block;
  }

  nav,
  .space-x-4 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.8rem;
  }

  .space-x-4 > * + * {
    margin-left: 0;
  }
}
