/*
Theme Name: Storyeo
Theme URI: https://storyeo.app
Author: Storyeo
Author URI: https://storyeo.app
Description: A premium, minimal landing page theme for Storyeo — a private dating app for creators. Reproduces the Storyeo marketing site with phone mockups, privacy features, creator-focused discovery, and a waitlist signup form that stores entries in the WordPress database.
Version: 1.0.0
Requires at least: 5.5
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: storyeo
Tags: one-column, custom-colors, custom-menu, featured-images, translation-ready, blog
*/

/* ------------------------------------------------------------------
   Storyeo theme — vanilla CSS port of the React/Tailwind landing page.
   Palette, type, spacing and gradients mirror src/index.css exactly.
------------------------------------------------------------------ */

:root {
  --background: hsl(40 23% 98%);
  --foreground: hsl(264 16% 11%);
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(264 16% 11%);
  --secondary: hsl(30 16% 94%);
  --secondary-foreground: hsl(264 16% 11%);
  --muted: hsl(30 14% 94%);
  --muted-foreground: hsl(270 6% 42%);
  --accent: hsl(330 78% 56%);
  --accent-foreground: hsl(0 0% 100%);
  --destructive: hsl(0 72% 51%);
  --border: hsl(30 12% 89%);
  --input: hsl(30 12% 86%);
  --ring: hsl(330 78% 56%);
  --radius: 0.75rem;
  --brand-pink: hsl(336 82% 60%);
  --brand-magenta: hsl(310 72% 55%);
  --brand-purple: hsl(266 78% 62%);
  --brand-orange: hsl(22 95% 58%);
  --brand-gradient: linear-gradient(
    100deg,
    var(--brand-pink),
    var(--brand-magenta),
    var(--brand-purple),
    var(--brand-orange)
  );
  --brand-gradient-soft: linear-gradient(
    100deg,
    hsl(336 82% 60% / 0.1),
    hsl(266 78% 62% / 0.1),
    hsl(22 95% 58% / 0.1)
  );
  --shadow-soft: 0 24px 60px -24px hsl(264 16% 11% / 0.35);
  --shadow-cta: 0 32px 80px -40px hsl(264 16% 11% / 0.3);
  --max-w: 72rem;
}

/* ----- Reset / base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
input,
fieldset {
  font: inherit;
  color: inherit;
}
::selection {
  background-color: hsl(336 82% 60% / 0.22);
}

/* ----- Helpers ----- */
.font-display {
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
}
.font-editorial {
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
}
.bg-brand-gradient {
  background-image: var(--brand-gradient);
}
.bg-brand-gradient-soft {
  background-image: var(--brand-gradient-soft);
}
.text-brand-gradient {
  background-image: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) {
  .container {
    padding-inline: 2rem;
  }
}
.section {
  padding-block: 5rem;
}
@media (min-width: 1024px) {
  .section {
    padding-block: 7rem;
  }
}
.section--border {
  border-top: 1px solid var(--border);
}
.scroll-mt {
  scroll-margin-top: 5rem;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.eyebrow--muted {
  color: var(--muted-foreground);
  letter-spacing: 0.18em;
}
.h-display {
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-size: 2.25rem;
}
@media (min-width: 640px) {
  .h-display {
    font-size: 3rem;
  }
}
@media (min-width: 1024px) {
  .h-display {
    font-size: 3.5rem;
  }
}
.h-display .italic-accent {
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
.body-muted {
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* ------------------------------------------------------------------
   Site header
------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background-color: hsl(40 23% 98% / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) {
  .site-header__inner {
    padding-inline: 2rem;
  }
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
}
.brand__name {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand__dot {
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background-image: var(--brand-gradient);
}
.nav-primary {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .nav-primary {
    display: flex;
  }
}
.nav-primary a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}
.nav-primary a:hover {
  color: var(--foreground);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.btn-waitlist {
  display: none;
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background-image: var(--brand-gradient);
  box-shadow: 0 1px 2px hsl(264 16% 11% / 0.08);
  transition: transform 0.2s ease;
}
.btn-waitlist:hover {
  transform: scale(1.03);
}
.btn-waitlist:active {
  transform: scale(0.98);
}
@media (min-width: 640px) {
  .btn-waitlist {
    display: inline-block;
  }
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  color: var(--foreground);
}
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background-color: var(--background);
  padding: 1rem 1.25rem;
}
.mobile-nav.is-open {
  display: block;
}
@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}
.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav a {
  display: block;
  border-radius: 0.5rem;
  padding: 0.75rem 0.75rem;
  font-size: 1rem;
  color: var(--foreground);
  transition: background 0.2s ease;
}
.mobile-nav a:hover {
  background: var(--secondary);
}
.mobile-nav .btn-waitlist {
  display: block;
  margin-top: 0.5rem;
  padding-block: 0.75rem;
  text-align: center;
  font-size: 1rem;
}

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: 0 0 auto 0;
  height: 480px;
  background-image: var(--brand-gradient-soft);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  gap: 3.5rem;
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}
@media (min-width: 640px) {
  .hero__grid {
    padding-inline: 2rem;
  }
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 2.5rem;
    padding-top: 5rem;
    padding-bottom: 7rem;
  }
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  box-shadow: 0 1px 2px hsl(264 16% 11% / 0.05);
}
.hero__badge .dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background-image: var(--brand-gradient);
}
.hero__title {
  margin-top: 1.5rem;
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
  font-size: 3rem;
}
@media (min-width: 640px) {
  .hero__title {
    font-size: 3.75rem;
  }
}
@media (min-width: 1024px) {
  .hero__title {
    font-size: 4.4rem;
  }
}
.hero__title .italic-accent {
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero__sub {
  margin-top: 1.25rem;
  max-width: 28rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
.waitlist-block {
  margin-top: 4.25rem;
  scroll-margin-top: 6rem;
}
.waitlist-block__title {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.waitlist-block__sub {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.waitlist-block__form {
  margin-top: 1rem;
  max-width: 36rem;
}
.hero__trust {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  row-gap: 0.5rem;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.trust-item svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--accent);
}
.learn-more {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}
.learn-more:hover {
  color: var(--accent);
  text-decoration: underline;
}
.hero__phones {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 1024px) {
  .hero__phones {
    justify-content: flex-end;
  }
}
.hero__phone--chat {
  display: none;
}
@media (min-width: 768px) {
  .hero__phone--chat {
    display: block;
    position: absolute;
    bottom: 1rem;
    left: -0.5rem;
    transform: rotate(-8deg) scale(0.82);
    opacity: 0.95;
  }
}
@media (min-width: 1024px) {
  .hero__phone--chat {
    left: -1.5rem;
  }
}
.hero__phone--discover {
  position: relative;
  z-index: 10;
}

/* ------------------------------------------------------------------
   Phone mockup
------------------------------------------------------------------ */
.phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.phone__frame {
  width: 240px;
  border-radius: 2.5rem;
  border: 1px solid hsl(264 16% 11% / 0.1);
  background: #fff;
  padding: 0.5rem;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) {
  .phone__frame {
    width: 260px;
  }
}
.phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 9 / 18.5;
  overflow: hidden;
  border-radius: 2rem;
  background-color: var(--background);
}
.phone__notch {
  position: absolute;
  left: 50%;
  top: 0.5rem;
  transform: translateX(-50%);
  width: 4rem;
  height: 1rem;
  border-radius: 9999px;
  background: var(--foreground);
  z-index: 10;
}
.phone__statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem 0;
  font-size: 10px;
  font-weight: 600;
  color: var(--foreground);
}
.phone__statusbar .bars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.phone__statusbar .bars span {
  display: inline-block;
  border-radius: 2px;
  background: hsl(264 16% 11% / 0.8);
}
.phone__statusbar .bars span:nth-child(1) {
  width: 0.75rem;
  height: 0.375rem;
}
.phone__statusbar .bars span:nth-child(2) {
  width: 0.625rem;
  height: 0.375rem;
  background: hsl(264 16% 11% / 0.5);
}
.phone__screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem 0.5rem;
}
.phone__screen-header .spacer {
  width: 1rem;
}
.phone__screen-header .title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.phone__screen-header svg {
  color: var(--muted-foreground);
}
.phone__screen-header .icon-back {
  width: 1rem;
  height: 1rem;
}
.phone__screen-header .icon-sliders {
  width: 0.875rem;
  height: 0.875rem;
}
.phone__content {
  flex: 1;
  min-height: 0;
}
.phone__tabbar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 0.5rem 1rem;
}
.phone__tabbar svg {
  width: 1rem;
  height: 1rem;
  color: hsl(270 6% 42% / 0.5);
}
.phone__tabbar svg.is-active {
  color: var(--accent);
}
.phone__label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}

/* Discover screen */
.discover__card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 1rem;
}
.discover__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.discover__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 0.75rem 0.75rem;
  color: #fff;
  background: linear-gradient(to top, hsl(0 0% 0% / 0.75), hsl(0 0% 0% / 0.25), transparent);
}
.discover__name {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 15px;
  font-weight: 700;
}
.discover__name svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #fff;
}
.discover__role {
  font-size: 10px;
  color: hsl(0 0% 100% / 0.8);
}
.discover__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.375rem;
}
.discover__tags span {
  border-radius: 9999px;
  background: hsl(0 0% 100% / 0.2);
  padding: 0.125rem 0.5rem;
  font-size: 9px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}
.discover__wrap {
  height: 100%;
  padding: 0 1rem 0.75rem;
}
.discover__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 1rem;
}
.discover__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted-foreground);
  box-shadow: 0 1px 2px hsl(264 16% 11% / 0.06);
}
.discover__actions .btn svg {
  width: 1rem;
  height: 1rem;
}
.discover__actions .btn--sm {
  width: 2.25rem;
  height: 2.25rem;
}
.discover__actions .btn--sm svg {
  width: 0.875rem;
  height: 0.875rem;
}
.discover__actions .btn--like {
  width: 2.75rem;
  height: 2.75rem;
  background-image: var(--brand-gradient);
  color: #fff;
  border: 0;
  box-shadow: 0 4px 10px hsl(264 16% 11% / 0.18);
}
.discover__actions .btn--like svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

/* Profile screen */
.profile__wrap {
  height: 100%;
  overflow: hidden;
  padding: 0 1rem;
}
.profile__photo {
  position: relative;
  height: 9rem;
  overflow: hidden;
  border-radius: 1rem;
}
.profile__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile__name {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.625rem;
  font-size: 14px;
  font-weight: 700;
}
.profile__name svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--accent);
}
.profile__role {
  font-size: 10px;
  color: var(--muted-foreground);
}
.profile__bio {
  margin-top: 0.5rem;
  font-size: 10px;
  line-height: 1.5;
  color: hsl(264 16% 11% / 0.8);
}
.profile__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.375rem;
  margin-top: 0.75rem;
  text-align: center;
}
.profile__stats .stat {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.5rem 0.25rem;
}
.profile__stats .stat .label {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}
.profile__stats .stat .value {
  font-size: 10px;
  font-weight: 600;
}
.profile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.625rem;
}
.profile__tags span {
  border-radius: 9999px;
  background: var(--secondary);
  padding: 0.125rem 0.5rem;
  font-size: 9px;
  font-weight: 500;
  color: var(--secondary-foreground);
}
.profile__cta {
  padding: 0.5rem 1rem 1rem;
}
.profile__cta .btn-like {
  display: block;
  border-radius: 9999px;
  padding: 0.5rem;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background-image: var(--brand-gradient);
}

/* Matches screen */
.matches__wrap {
  height: 100%;
  padding: 0 1rem;
}
.matches__hint {
  padding-bottom: 0.5rem;
  font-size: 10px;
  color: var(--muted-foreground);
}
.matches__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.matches__card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0.75rem;
}
.matches__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.matches__card .name {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 0.375rem 0.375rem;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, hsl(0 0% 0% / 0.7), transparent);
}
.matches__card .new {
  position: absolute;
  top: 0.375rem;
  left: 0.375rem;
  border-radius: 9999px;
  padding: 0.125rem 0.375rem;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  background-image: var(--brand-gradient);
}

/* Chat screen */
.chat__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem 0.5rem;
}
.chat__header img {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  object-fit: cover;
}
.chat__header .name {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 12px;
  font-weight: 700;
}
.chat__header .name svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--accent);
}
.chat__header .status {
  font-size: 9px;
  color: var(--muted-foreground);
}
.chat__header .icon-back {
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
}
.chat__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.375rem;
  height: 100%;
  padding: 0.75rem 1rem;
}
.chat__bubble {
  max-width: 75%;
  border-radius: 1rem;
  padding: 0.375rem 0.75rem;
  font-size: 10px;
  line-height: 1.4;
}
.chat__bubble--in {
  align-self: flex-start;
  background: var(--secondary);
  border-bottom-left-radius: 0.25rem;
}
.chat__bubble--out {
  align-self: flex-end;
  background-image: var(--brand-gradient);
  color: #fff;
  border-bottom-right-radius: 0.25rem;
}
.chat__seen {
  align-self: flex-end;
  font-size: 8px;
  color: var(--muted-foreground);
}
.chat__input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem 1rem;
}
.chat__input .field {
  flex: 1;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  font-size: 10px;
  color: var(--muted-foreground);
}
.chat__input .send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  color: #fff;
  background-image: var(--brand-gradient);
}
.chat__input .send svg {
  width: 0.75rem;
  height: 0.75rem;
}

/* Preferences screen */
.prefs__wrap {
  height: 100%;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.prefs__card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.75rem;
}
.prefs__card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.prefs__card .row .title {
  font-size: 11px;
  font-weight: 600;
}
.prefs__card .row .value {
  font-size: 10px;
  color: var(--muted-foreground);
}
.prefs__slider {
  position: relative;
  height: 0.25rem;
  margin-top: 0.5rem;
  border-radius: 9999px;
  background: var(--secondary);
}
.prefs__slider .fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 0.25rem;
  width: 40%;
  border-radius: 9999px;
  background-image: var(--brand-gradient);
}
.prefs__slider .thumb {
  position: absolute;
  left: 40%;
  top: 50%;
  width: 0.75rem;
  height: 0.75rem;
  transform: translate(-50%, -50%);
  border-radius: 9999px;
  border: 2px solid #fff;
  background: var(--foreground);
  box-shadow: 0 1px 3px hsl(264 16% 11% / 0.3);
}
.prefs__toggle .sub {
  font-size: 9px;
  color: var(--muted-foreground);
}
.prefs__switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 1.75rem;
  height: 1rem;
  border-radius: 9999px;
  flex-shrink: 0;
}
.prefs__switch.on {
  background-image: var(--brand-gradient);
}
.prefs__switch.off {
  background: var(--secondary);
}
.prefs__switch .knob {
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 1px 2px hsl(264 16% 11% / 0.2);
  transition: left 0.2s ease;
}
.prefs__switch.on .knob {
  right: 0.125rem;
}
.prefs__switch.off .knob {
  left: 0.125rem;
}
.prefs__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.375rem;
}
.prefs__chips span {
  border-radius: 9999px;
  padding: 0.125rem 0.5rem;
  font-size: 9px;
  font-weight: 500;
}
.prefs__chips span.on {
  background-image: var(--brand-gradient);
  color: #fff;
}
.prefs__chips span.off {
  background: var(--secondary);
  color: var(--secondary-foreground);
}
.prefs__pad {
  padding-bottom: 1rem;
}

/* ------------------------------------------------------------------
   What is / About
------------------------------------------------------------------ */
.what-is__grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .what-is__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
  }
}
.what-is__media {
  position: relative;
}
.what-is__media .frame {
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.what-is__media .frame img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}
.what-is__quote {
  position: absolute;
  bottom: -1.25rem;
  left: 1.25rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 25px hsl(264 16% 11% / 0.12);
}
@media (min-width: 640px) {
  .what-is__quote {
    left: 2rem;
  }
}
.what-is__quote p {
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.35;
}
.what-is__quote .accent {
  color: var(--accent);
}
.what-is__copy p + p {
  margin-top: 1rem;
}

/* ------------------------------------------------------------------
   How it works
------------------------------------------------------------------ */
.how {
  background: #fff;
}
.how__head {
  max-width: 36rem;
}
.how__steps {
  margin-top: 3.5rem;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--border);
}
@media (min-width: 768px) {
  .how__steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.how__step {
  background: #fff;
  padding: 2rem;
  transition: background 0.2s ease;
}
@media (min-width: 1024px) {
  .how__step {
    padding: 2.5rem;
  }
}
.how__step:hover {
  background: var(--background);
}
.how__step .num {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background-image: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.how__step h3 {
  margin-top: 1.5rem;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.how__step p {
  margin-top: 0.625rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
.how__step .rule {
  display: block;
  margin-top: 2rem;
  height: 2px;
  width: 2.5rem;
  border-radius: 9999px;
  background-image: var(--brand-gradient);
  transition: width 0.3s ease;
}
.how__step:hover .rule {
  width: 4rem;
}

/* ------------------------------------------------------------------
   Privacy
------------------------------------------------------------------ */
.privacy__grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .privacy__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}
.privacy__intro {
  max-width: 28rem;
}
@media (min-width: 1024px) {
  .privacy__intro {
    position: sticky;
    top: 7rem;
    align-self: flex-start;
  }
}
.privacy__intro p {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
.privacy__list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--border);
}
@media (min-width: 640px) {
  .privacy__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.privacy__item {
  background: #fff;
  padding: 1.75rem;
}
.privacy__item .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background-image: var(--brand-gradient-soft);
}
.privacy__item .icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
}
.privacy__item h3 {
  margin-top: 1rem;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.privacy__item p {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ------------------------------------------------------------------
   Discovery
------------------------------------------------------------------ */
.discovery {
  background: #fff;
}
.discovery__grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .discovery__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
  }
}
.discovery__lens {
  order: 2;
}
@media (min-width: 1024px) {
  .discovery__lens {
    order: 1;
  }
}
.discovery__copy {
  order: 1;
}
@media (min-width: 1024px) {
  .discovery__copy {
    order: 2;
  }
}
.discovery__panel {
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px hsl(264 16% 11% / 0.05);
}
@media (min-width: 640px) {
  .discovery__panel {
    padding: 2rem;
  }
}
.discovery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.discovery__filters span {
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.discovery__filters span.on {
  background-image: var(--brand-gradient);
  color: #fff;
}
.discovery__filters span.off {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--foreground);
}
.discovery__list {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.discovery__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 1rem;
  padding: 0.75rem;
}
.discovery__row img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  object-fit: cover;
}
.discovery__row .meta {
  min-width: 0;
}
.discovery__row .meta .name {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.discovery__row .meta .role {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.discovery__row .tag {
  margin-left: auto;
  border-radius: 9999px;
  background: var(--secondary);
  padding: 0.25rem 0.625rem;
  font-size: 10px;
  font-weight: 600;
  color: var(--secondary-foreground);
}
.discovery__copy p + p {
  margin-top: 1rem;
}

/* ------------------------------------------------------------------
   Final CTA
------------------------------------------------------------------ */
.final-cta__panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 2.5rem;
  padding: 4rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-cta);
}
@media (min-width: 640px) {
  .final-cta__panel {
    padding: 5rem 3rem;
  }
}
.final-cta__glow {
  position: absolute;
  inset: 0;
  background-image: var(--brand-gradient-soft);
  pointer-events: none;
}
.final-cta__inner {
  position: relative;
  max-width: 42rem;
  margin-inline: auto;
}
.final-cta__inner .ask {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.final-cta__inner .ask + p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.final-cta__form {
  max-width: 32rem;
  margin: 1rem auto 0;
}
.final-cta__note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ------------------------------------------------------------------
   Waitlist form
------------------------------------------------------------------ */
.wl-form {
  width: 100%;
}
/* Invisible honeypot — fully hidden from humans, left in the DOM so bots
   still fill it and the JS time-to-submit / honeypot check can detect them.
   Belt-and-braces: off-screen, clipped, zero size, non-interactive, transparent. */
.wl-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}
.wl-hp label,
.wl-hp input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.wl-form__grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .wl-form__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.wl-input {
  height: 3rem;
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--input);
  background: #fff;
  padding: 0 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
  transition: box-shadow 0.2s ease;
}
.wl-input::placeholder {
  color: hsl(270 6% 42% / 0.7);
}
.wl-input:focus {
  box-shadow: 0 0 0 2px hsl(330 78% 56% / 0.4);
}
.wl-creator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--input);
  background: #fff;
  padding: 0 0.75rem;
  height: 3rem;
}
.wl-creator .label {
  padding-left: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.wl-creator .opts {
  margin-left: auto;
  display: flex;
  gap: 0.375rem;
}
.wl-creator .opt {
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: capitalize;
  background: var(--secondary);
  color: var(--secondary-foreground);
  transition: background 0.2s ease, color 0.2s ease;
}
.wl-creator .opt.is-active {
  background-image: var(--brand-gradient);
  color: #fff;
}
.wl-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  width: 100%;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background-image: var(--brand-gradient);
  box-shadow: 0 1px 2px hsl(264 16% 11% / 0.08);
  transition: transform 0.2s ease;
  margin-top: 0.75rem;
}
.wl-submit:hover {
  transform: scale(1.01);
}
.wl-submit:active {
  transform: scale(0.99);
}
.wl-submit:disabled {
  opacity: 0.6;
}
.wl-submit svg {
  width: 1rem;
  height: 1rem;
}
.wl-submit .spin {
  animation: wl-spin 0.8s linear infinite;
}
@keyframes wl-spin {
  to {
    transform: rotate(360deg);
  }
}
.wl-error {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--destructive);
}
.wl-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

/* Compact variant */
.wl-form--compact .wl-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .wl-form--compact .wl-row {
    flex-direction: row;
  }
}
.wl-form--compact .wl-input {
  flex: 1;
}
.wl-form--compact .wl-submit {
  width: auto;
  flex-shrink: 0;
  padding-inline: 1.75rem;
  margin-top: 0;
}

/* Success panel */
.wl-success {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 1px 2px hsl(264 16% 11% / 0.05);
}
@media (min-width: 640px) {
  .wl-success {
    padding: 2rem;
  }
}
.wl-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
  color: #fff;
  background-image: var(--brand-gradient);
}
.wl-success__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.wl-success__title {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.wl-success__sub {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--background);
}
.site-footer__top {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 4rem 1.25rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 640px) {
  .site-footer__top {
    padding-inline: 2rem;
  }
}
@media (min-width: 768px) {
  .site-footer__top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}
.footer-brand {
  max-width: 20rem;
}
.footer-brand .name {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer-brand .tag {
  margin-top: 0.5rem;
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--muted-foreground);
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--foreground);
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-socials a:hover {
  border-color: var(--foreground);
  color: var(--foreground);
}
.footer-socials svg {
  width: 1rem;
  height: 1rem;
}
.site-footer__bottom {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 1.5rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .site-footer__bottom {
    padding-inline: 2rem;
  }
}
@media (min-width: 640px) {
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-wordmark {
  overflow: hidden;
}
.footer-wordmark span {
  display: block;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
  text-align: center;
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: -0.32em;
  font-size: 22vw;
  background-image: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
@media (min-width: 640px) {
  .footer-wordmark span {
    padding-inline: 2rem;
  }
}
@media (min-width: 768px) {
  .footer-wordmark span {
    font-size: 16vw;
  }
}

/* ------------------------------------------------------------------
   Accessibility / motion
------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
