/* Blocker4Beta — port du design React (Tailwind tokens → CSS) */
:root {
  --radius: 0.75rem;

  --neon: oklch(0.86 0.16 200);
  --hot: oklch(0.7 0.27 8);

  --background: oklch(0.13 0.01 240);
  --foreground: oklch(0.98 0.005 240);
  --surface: oklch(0.17 0.012 240);
  --surface-2: oklch(0.21 0.014 240);

  --card: oklch(0.16 0.012 240);
  --card-foreground: oklch(0.98 0.005 240);

  --primary: var(--neon);
  --primary-foreground: oklch(0.13 0.01 240);
  --secondary: oklch(0.22 0.015 240);
  --secondary-foreground: oklch(0.98 0.005 240);
  --muted: oklch(0.2 0.012 240);
  --muted-foreground: oklch(0.7 0.02 240);
  --accent: var(--hot);
  --accent-foreground: oklch(0.98 0.005 240);
  --destructive: oklch(0.6 0.24 25);

  --border: oklch(1 0 0 / 8%);
  --input: oklch(1 0 0 / 12%);
  --ring: var(--neon);

  --shadow-neon: 0 0 0 1px color-mix(in oklab, var(--neon) 40%, transparent),
    0 10px 40px -10px color-mix(in oklab, var(--neon) 50%, transparent);
  --shadow-hot: 0 0 0 1px color-mix(in oklab, var(--hot) 40%, transparent),
    0 10px 40px -10px color-mix(in oklab, var(--hot) 50%, transparent);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-main {
  flex: 1;
}

/* Layout */
.wrap {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Grid backdrop */
.bg-grid {
  background-image: linear-gradient(
      to right,
      color-mix(in oklab, var(--foreground) 5%, transparent) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, color-mix(in oklab, var(--foreground) 5%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
}

.bg-radial-fade {
  background: radial-gradient(
    ellipse 80% 50% at 50% 0%,
    color-mix(in oklab, var(--neon) 18%, transparent),
    transparent 70%
  );
}

/* Glitch logo */
.glitch {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--foreground);
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.glitch::before {
  color: var(--hot);
  transform: translate(1.5px, 0);
  clip-path: inset(0 0 55% 0);
}

.glitch::after {
  color: var(--neon);
  transform: translate(-1.5px, 0);
  clip-path: inset(55% 0 0 0);
}

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

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.05rem;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
}

.pill-neon {
  background: var(--neon);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-neon);
}

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

.pill-ghost {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.pill-ghost:hover {
  border-color: color-mix(in oklab, var(--neon) 60%, transparent);
  color: var(--neon);
}

/* Shortcode [blocker4beta_cta] */
.cta-shortcode {
  display: flex;
  margin: 1.5rem 0;
}

.cta-shortcode--left {
  justify-content: flex-start;
}

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

.cta-shortcode--right {
  justify-content: flex-end;
}

.cta-shortcode--full .pill {
  width: 100%;
  max-width: 24rem;
}

.cta-shortcode .pill {
  text-decoration: none;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--neon) 10%, transparent);
  border: 1px solid color-mix(in oklab, var(--neon) 35%, transparent);
  color: var(--neon);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-pill .dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
}

.text-gradient {
  background: linear-gradient(135deg, var(--foreground), color-mix(in oklab, var(--neon) 80%, var(--foreground)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-muted {
  color: var(--muted-foreground);
}

.text-neon {
  color: var(--neon);
}

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: float-slow 6s ease-in-out infinite;
}

/* Header (z-index > tiroir mobile pour rester au-dessus du voile) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(12px);
  background: color-mix(in oklab, var(--background) 70%, transparent);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-header__end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* Menu desktop (centré entre logo et actions) */
.site-nav--desktop {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

@media (min-width: 768px) {
  .site-nav--desktop {
    display: flex;
  }
}

.site-nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--background) 80%, transparent);
  cursor: pointer;
  color: var(--foreground);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.site-nav-toggle:hover {
  border-color: color-mix(in oklab, var(--neon) 50%, transparent);
}

.site-nav-toggle:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

.site-nav-toggle__bar {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  border-radius: 1px;
}

@media (min-width: 768px) {
  .site-nav-toggle {
    display: none;
  }
}

.site-nav a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--foreground);
}

.site-nav a.is-active {
  color: var(--foreground);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list li {
  margin: 0;
}

.site-nav__list a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.15s ease;
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  color: var(--foreground);
}

.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a {
  color: var(--foreground);
}

/* Tiroir mobile : liens en colonne */
.site-nav__list--drawer {
  flex-direction: column;
  align-items: stretch;
  gap: 0.125rem;
}

.site-nav__list--drawer a {
  padding: 0.85rem 0.75rem;
  border-radius: var(--radius);
  font-size: 1rem;
}

.site-nav__list--drawer a:hover,
.site-nav__list--drawer a:focus-visible {
  background: color-mix(in oklab, var(--neon) 8%, transparent);
}

.site-nav--drawer .site-nav__list a {
  color: oklch(0.88 0.02 250);
}

.site-nav--drawer .site-nav__list a:hover,
.site-nav--drawer .site-nav__list a:focus-visible,
.site-nav--drawer .site-nav__list .current-menu-item > a,
.site-nav--drawer .site-nav__list .current_page_item > a {
  color: var(--foreground);
}

/* Tiroir : en dehors du <header> dans le HTML pour éviter le piège backdrop-filter → fixed */
.site-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  isolation: isolate;
  pointer-events: none;
}

.site-nav-overlay.is-open {
  pointer-events: auto;
}

.site-nav-overlay[hidden] {
  display: none !important;
}

.site-nav-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: oklch(0.08 0.02 250 / 0.88);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.site-nav-overlay.is-open .site-nav-overlay__backdrop {
  opacity: 1;
}

.site-nav-overlay__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(20rem, 92vw);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  /* Fond opaque (variables du thème, pas de transparence sur le hero) */
  background-color: var(--background);
  background-image: linear-gradient(180deg, var(--surface) 0%, var(--background) 45%);
  border-left: 1px solid var(--border);
  box-shadow: -16px 0 48px oklch(0 0 0 / 45%);
  transform: translateX(100%);
  transition: transform 0.22s ease;
  z-index: 1;
}

.site-nav-overlay.is-open .site-nav-overlay__panel {
  transform: translateX(0);
}

.site-nav-overlay__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: calc(1rem + env(safe-area-inset-top, 0px)) 1.25rem 1rem;
  border-bottom: 1px solid oklch(1 0 0 / 10%);
  flex-shrink: 0;
}

.site-nav-overlay__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.site-nav-close {
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
}

.site-nav--drawer {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 1rem 1.5rem;
}

html.nav-drawer-open,
html.nav-drawer-open body {
  overflow: hidden;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 8rem;
}

.site-footer__grid {
  max-width: 80rem;
  margin-inline: auto;
  padding: 4rem 1.5rem;
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: minmax(12rem, 1.25fr) minmax(0, 1fr);
    align-items: start;
  }

  .site-footer__menus {
    display: grid;
    gap: 2rem 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  }
}

.site-footer__col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  font-weight: 600;
}

.site-footer__col ul li + li {
  margin-top: 0.5rem;
}

.site-footer__nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__nav .menu .menu-item + .menu-item {
  margin-top: 0.5rem;
}

.site-footer__col a,
.site-footer__nav .menu a {
  font-size: 0.875rem;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
  transition: color 0.15s ease;
}

.site-footer__col a:hover,
.site-footer__nav .menu a:hover {
  color: var(--neon);
}

.site-footer__brand p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  max-width: 18rem;
}

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

.site-footer__bar-inner {
  max-width: 80rem;
  margin-inline: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .site-footer__bar-inner {
    flex-direction: row;
    justify-content: center;
  }
}

/* Cards & sections */
.card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  transition: border-color 0.2s ease;
}

.card:hover {
  border-color: color-mix(in oklab, var(--neon) 40%, transparent);
}

.card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: color-mix(in oklab, var(--neon) 15%, transparent);
}

.card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--neon);
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.section-title {
  margin-top: 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
}

.section-title--center {
  text-align: center;
  margin-inline: auto;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}

.hero__bg-fade {
  position: absolute;
  inset: 0;
}

.hero__inner {
  position: relative;
  max-width: 80rem;
  margin-inline: auto;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
}

.hero .lead {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin-inline: auto;
}

.hero__ctas {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.hero__mockup {
  margin-top: 5rem;
}

.features-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats-band {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  padding: 2.5rem;
  display: grid;
  gap: 2rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--neon) 8%, transparent),
    color-mix(in oklab, var(--hot) 8%, transparent)
  );
}

@media (min-width: 640px) {
  .stats-band {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-num {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.cta-block {
  padding: 6rem 1.5rem;
  text-align: center;
}

.cta-block svg.icon-sparkle {
  width: 2rem;
  height: 2rem;
  color: var(--neon);
  margin-inline: auto;
}

.cta-block h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
}

.cta-block > p {
  margin-top: 1rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin-inline: auto;
}

.cta-block .pill {
  margin-top: 2rem;
}

/* Page inner */
.page-inner {
  max-width: 80rem;
  margin-inline: auto;
  padding: 5rem 1.5rem;
}

.feature-group {
  margin-top: 4rem;
}

.feature-group h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.feature-grid-3 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .feature-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Pricing */
.pricing-head {
  text-align: center;
}

.pricing-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-tier {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-tier--highlight {
  border-color: color-mix(in oklab, var(--neon) 60%, transparent);
  box-shadow: var(--shadow-neon);
}

.pricing-tier .badge-pill {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
}

.pricing-tier .price {
  margin-top: 1.5rem;
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.pricing-tier ul {
  margin-top: 1.5rem;
  flex: 1;
}

.pricing-tier li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

.pricing-tier li svg {
  width: 1rem;
  height: 1rem;
  color: var(--neon);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.pricing-tier .pill {
  margin-top: 2rem;
  width: 100%;
}

/* Showcase */
.showcase-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.showcase-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.showcase-card:hover {
  border-color: color-mix(in oklab, var(--neon) 40%, transparent);
}

.showcase-card__visual {
  aspect-ratio: 4 / 5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-card__visual .bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.showcase-card__visual .phone-wrap {
  transform: scale(0.55);
  transform-origin: center;
}

.showcase-card__meta {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.showcase-card__meta h3 {
  font-weight: 600;
}

.showcase-card__meta .tag {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.showcase-card__meta .link {
  font-size: 0.75rem;
  color: var(--neon);
}

/* Contact : contenu éditeur pleine largeur (slug contact ou modèle Contact plugin) */
.contact-page-full__content {
  width: 100%;
  max-width: none;
}

.contact-page-full__content > *:first-child {
  margin-top: 0;
}

.contact-form label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: color-mix(in oklab, var(--neon) 60%, transparent);
}

.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
}

.contact-form input[type="submit"],
.contact-form button[type="submit"] {
  margin-top: 1rem;
  padding: 0.55rem 1.05rem;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--neon);
  color: var(--primary-foreground);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-neon);
  width: auto;
}

.contact-form input[type="submit"]:hover,
.contact-form button[type="submit"]:hover {
  transform: translateY(-1px);
}

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

@media (min-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  margin-bottom: 1rem;
}

/* Phone mockup */
.phone-mockup {
  position: relative;
  margin-inline: auto;
  width: 280px;
  height: 570px;
}

.phone-mockup__glow {
  position: absolute;
  inset: -2rem;
  border-radius: 3rem;
  filter: blur(48px);
  opacity: 0.4;
  background: radial-gradient(circle at 30% 20%, var(--neon), transparent 60%),
    radial-gradient(circle at 70% 80%, var(--hot), transparent 60%);
  pointer-events: none;
}

.phone-mockup__frame {
  position: relative;
  height: 100%;
  border-radius: 2.5rem;
  border: 1px solid var(--border);
  background: var(--surface-2);
  padding: 0.75rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5);
}

.phone-mockup__notch {
  position: absolute;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 1.25rem;
  background: var(--background);
  border-radius: 9999px;
  z-index: 2;
}

.phone-mockup__screen {
  height: 100%;
  border-radius: 2rem;
  background: var(--background);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-mockup__header {
  padding: 2.5rem 1.25rem 1rem;
}

.phone-mockup__header .sub {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.phone-mockup__header .name {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin-top: 0.25rem;
}

.phone-mockup__body {
  padding: 0 1.25rem;
  flex: 1;
}

.phone-card-hero {
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--neon), var(--hot));
}

.phone-card-hero svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--background);
  margin-bottom: 1.5rem;
}

.phone-card-hero .label {
  font-size: 0.75rem;
  color: color-mix(in oklab, var(--background) 80%, transparent);
}

.phone-card-hero .value {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--background);
}

.phone-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.phone-mini {
  border-radius: 0.75rem;
  background: var(--surface-2);
  padding: 0.75rem;
}

.phone-mini .sq {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.phone-mini .sq span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--neon);
}

.phone-mini .t1 {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.phone-mini .t2 {
  font-size: 0.875rem;
  font-weight: 500;
}

.phone-mockup__nav {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-mockup__nav button {
  background: none;
  border: none;
  padding: 0;
  cursor: default;
  color: var(--muted-foreground);
}

.phone-mockup__nav button.is-active {
  color: var(--neon);
}

.phone-mockup__nav svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Blog / index */
.post-list {
  max-width: 48rem;
  margin-inline: auto;
  padding: 4rem 1.5rem;
}

.post-list article {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.post-list h2 {
  font-size: 1.5rem;
}

.post-list h2 a:hover {
  color: var(--neon);
}

.entry-content > * + * {
  margin-top: 1rem;
}

.entry-content a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 404 */
.error-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
}

.error-404 h1 {
  font-size: clamp(4rem, 15vw, 6rem);
  font-weight: 700;
}

.error-404 h2 {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.error-404 p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.error-404 .pill {
  margin-top: 1.5rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--neon);
  color: var(--primary-foreground);
  border-radius: 0.25rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Screen reader */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
