@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("site/fonts/fraunces.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("site/fonts/outfit.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --ink: #f2e9e9;
  --ink-soft: #c9b4b4;
  --muted: #8f7a7a;
  --accent: #e23b3b;
  --accent-bright: #ff6b6b;
  --line: rgb(242 233 233 / 0.12);
  --bg: #050505;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  accent-color: var(--accent);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  background: var(--bg);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-bright);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.5rem 0.75rem;
  background: #161616;
  color: var(--ink);
  border-radius: 0.4rem;
  transform: translateY(-150%);
  transition: transform 160ms var(--ease);
  z-index: 10;
}

.skip:focus {
  transform: translateY(0);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

.site-header a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-header a:hover,
.site-header a[aria-current="page"] {
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: clamp(5.5rem, 12vh, 7rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 6vh, 4rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 55% at 78% 28%, rgb(226 59 59 / 0.28), transparent 58%),
    radial-gradient(ellipse 50% 40% at 12% 88%, rgb(255 107 107 / 0.12), transparent 55%),
    linear-gradient(165deg, #121212 0%, #050505 48%, #000 100%);
  animation: glow 10s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(242 233 233 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(242 233 233 / 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-copy {
  max-width: 36rem;
}

.brand {
  margin: 0 0 1rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3.2rem, 9vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  animation: rise 700ms var(--ease) both;
}

.headline {
  margin: 0;
  max-width: 18ch;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  animation: rise 760ms var(--ease) 60ms both;
}

.lede {
  margin: 1rem 0 0;
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
  animation: rise 820ms var(--ease) 110ms both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: rise 880ms var(--ease) 160ms both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 180ms var(--ease),
    background-color 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease);
}

.btn:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-bright);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgb(242 233 233 / 0.35);
  color: #fff;
  transform: translateY(-2px);
}

.hero-mark {
  position: absolute;
  right: clamp(1rem, 8vw, 6rem);
  top: 50%;
  width: min(42vw, 280px);
  aspect-ratio: 1;
  translate: 0 -42%;
  border-radius: 28%;
  box-shadow:
    0 0 0 1px rgb(242 233 233 / 0.08),
    0 30px 80px rgb(226 59 59 / 0.25);
  animation: float-in 900ms var(--ease) 80ms both, drift 7s ease-in-out 1s infinite alternate;
}

.hero-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.features {
  padding: clamp(3rem, 8vh, 5rem) clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0a0a0a, #050505);
}

.features-inner {
  max-width: 52rem;
  margin: 0 auto;
}

.features h2 {
  margin: 0 0 0.5rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.features > .features-inner > p {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 40ch;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.feature-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.feature-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.site-footer {
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

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

/* Privacy page */
.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1;
  width: min(42rem, 100%);
  margin: 0 auto;
  padding: 6.5rem clamp(1.25rem, 4vw, 2rem) 3rem;
}

.page-main h1 {
  margin: 0 0 0.35rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.updated {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-main h2 {
  margin: 2rem 0 0.65rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.page-main p,
.page-main li {
  color: var(--ink-soft);
}

.page-main ul {
  padding-left: 1.2rem;
}

.page-main code {
  font-size: 0.92em;
  color: var(--ink);
  background: rgb(242 233 233 / 0.06);
  padding: 0.1em 0.35em;
  border-radius: 0.3rem;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  background: rgb(5 5 5 / 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.page-header .brand-link {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.page-header .brand-link:hover {
  color: var(--accent-bright);
}

@media (max-width: 720px) {
  .hero {
    align-items: start;
    padding-top: 5.5rem;
  }

  .hero-mark {
    position: relative;
    right: auto;
    top: auto;
    translate: none;
    width: min(42vw, 140px);
    margin: 0 0 1.5rem;
    animation: float-in 700ms var(--ease) both;
  }

  .hero-copy {
    order: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

@keyframes glow {
  from {
    filter: saturate(1);
  }
  to {
    filter: saturate(1.2) brightness(1.05);
  }
}
