/* Friend'Zone showcase site. Colours follow the Flutter theme (fz_v0_0_1/lib/theme/app_colors.dart).
   System fonts only: nothing is loaded from a third party. */

:root {
  --violet: #7c3aed;
  --violet-strong: #6d28d9;
  --violet-deep: #4c1d95;
  --indigo: #4f46e5;
  --lilac: #a78bfa;
  --pink: #ec4899;

  --text: #0f172a;
  --muted: #475569;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --tint: #f5f3ff;
  --accent-text: #6d28d9;
  --focus: #7c3aed;
  --header-bg: rgba(255, 255, 255, 0.86);
  --hl-from: #7c3aed;
  --hl-to: #db2777;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 10px 30px rgba(15, 23, 42, 0.08);

  --radius: 16px;
  --radius-lg: 28px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f8fafc;
    --muted: #cbd5e1;
    --bg: #0f172a;
    --bg-alt: #131c31;
    --surface: #1e293b;
    --border: #334155;
    --tint: #241f45;
    --accent-text: #c4b5fd;
    --focus: #c4b5fd;
    --header-bg: rgba(15, 23, 42, 0.86);
    --hl-from: #c4b5fd;
    --hl-to: #f9a8d4;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.1rem, 5.5vw + 0.6rem, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 2.6vw + 1rem, 2.6rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.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;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: var(--violet);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 8px;
}

.ic {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.todo {
  background: #fef3c7;
  color: #78350f;
  padding: 0.05em 0.35em;
  border-radius: 4px;
  font-weight: 700;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

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

.btn .ic {
  width: 20px;
  height: 20px;
}

.btn-sm {
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.32);
}

.btn-primary:hover {
  background: var(--violet-strong);
}

.btn-ghost {
  border-color: currentColor;
  color: var(--accent-text);
  background: transparent;
}

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

.btn-light {
  background: #fff;
  color: #5b21b6;
}

.btn-light:hover {
  background: #ede9fe;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  padding: 10px 0;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-name span {
  color: var(--accent-text);
}

.main-nav {
  order: 3;
  width: 100%;
  margin: 0 -16px;
  width: calc(100% + 32px);
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0 12px 10px;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover {
  background: var(--tint);
  color: var(--accent-text);
}

@media (min-width: 1000px) {
  .main-nav {
    order: 0;
    width: auto;
    margin: 0;
    overflow: visible;
  }

  .main-nav ul {
    padding: 0;
  }
}

/* ---------- Sections ---------- */

main > section,
.section {
  padding: 64px 0;
  scroll-margin-top: 112px;
}

@media (min-width: 768px) {
  main > section,
  .section {
    padding: 96px 0;
  }
}

@media (min-width: 1000px) {
  main > section,
  .section {
    scroll-margin-top: 72px;
  }
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.125rem;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--accent-text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 72px;
  background:
    radial-gradient(56rem 28rem at 90% -10%, rgba(124, 58, 237, 0.2), transparent 60%),
    radial-gradient(36rem 22rem at -10% 30%, rgba(236, 72, 153, 0.13), transparent 60%),
    radial-gradient(30rem 20rem at 60% 110%, rgba(79, 70, 229, 0.12), transparent 60%),
    var(--bg);
}

@media (min-width: 768px) {
  .hero {
    padding: 80px 0 104px;
  }
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-text);
  font-size: 0.9rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
}

.hl {
  background: linear-gradient(90deg, var(--hl-from), var(--hl-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 40rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 0.6vw + 1rem, 1.3rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}

@media (max-width: 479px) {
  .actions .btn {
    width: 100%;
  }
}

.hero-notes {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.97rem;
}

.hero-notes li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hero-notes .ic {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: #16a34a;
}

/* Phone illustration (decorative, fixed light colours like the app's light theme). */

.hero-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 310px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -12% 4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.35), transparent);
  filter: blur(10px);
}

.phone {
  position: relative;
  padding: 10px;
  border-radius: 44px;
  background: #0f172a;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.28), inset 0 0 0 2px #334155;
}

.phone::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  width: 84px;
  height: 22px;
  border-radius: 999px;
  background: #0f172a;
  transform: translateX(-50%);
}

.phone-screen {
  display: grid;
  gap: 12px;
  padding: 52px 14px 14px;
  border-radius: 34px;
  background: linear-gradient(180deg, #f5f3ff 0%, #f8fafc 40%);
  color: #0f172a;
}

.ps-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.ps-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ps-chip {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #7c3aed;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.ps-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  font-size: 0.92rem;
  line-height: 1.35;
}

.ps-card strong {
  font-size: 0.98rem;
}

.ps-meta {
  color: #475569;
  font-size: 0.8rem;
}

.ps-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.cat {
  justify-self: start;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.cat-activite {
  background: #fef3c7;
  color: #92400e;
}

.cat-resto {
  background: #fce7f3;
  color: #9d174d;
}

.cat-pleinair {
  background: #dcfce7;
  color: #166534;
}

.avatars {
  display: flex;
  align-items: center;
}

.avatars i {
  width: 26px;
  height: 26px;
  margin-right: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #6366f1);
}

.avatars i:nth-child(2) {
  background: linear-gradient(135deg, #f9a8d4, #ec4899);
}

.avatars i:nth-child(3) {
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
}

.avatars b {
  margin-left: 14px;
  color: #475569;
  font-size: 0.78rem;
}

.ps-join {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: #7c3aed;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.ps-qr {
  width: 40px;
  height: 40px;
  padding: 4px;
  border-radius: 8px;
  background: #f5f3ff;
  color: #4c1d95;
}

.ps-qr .ic {
  width: 32px;
  height: 32px;
  stroke-width: 2.2;
}

.ps-heart {
  color: #ec4899;
}

.ps-heart .ic {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.ps-tabs {
  display: flex;
  justify-content: space-around;
  margin-top: 4px;
  padding: 10px 6px 4px;
  border-top: 1px solid #e2e8f0;
}

.ps-tabs i {
  width: 22px;
  height: 6px;
  border-radius: 999px;
  background: #cbd5e1;
}

.ps-tabs i:nth-child(2) {
  background: #7c3aed;
}

.visual-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .float-1 {
    animation: float 7s ease-in-out infinite;
  }

  .float-2 {
    animation: float 8s ease-in-out 1s infinite;
  }

  .float-3 {
    animation: float 9s ease-in-out 2s infinite;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.step {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--violet), var(--indigo));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
}

.step p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Cards ---------- */

.grid {
  display: grid;
  gap: 16px;
}

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

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

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid {
    gap: 20px;
  }
}

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.card h3 {
  margin-bottom: 0.4em;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.ic-wrap {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.12);
  color: #6d28d9;
}

.ic-pink {
  background: rgba(236, 72, 153, 0.12);
  color: #be185d;
}

.ic-green {
  background: rgba(34, 197, 94, 0.14);
  color: #15803d;
}

.ic-amber {
  background: rgba(245, 158, 11, 0.16);
  color: #b45309;
}

.ic-blue {
  background: rgba(59, 130, 246, 0.13);
  color: #1d4ed8;
}

.ic-cyan {
  background: rgba(6, 182, 212, 0.14);
  color: #0e7490;
}

@media (prefers-color-scheme: dark) {
  .ic-wrap {
    background: rgba(167, 139, 250, 0.16);
    color: #c4b5fd;
  }

  .ic-pink {
    background: rgba(236, 72, 153, 0.18);
    color: #f9a8d4;
  }

  .ic-green {
    background: rgba(34, 197, 94, 0.18);
    color: #86efac;
  }

  .ic-amber {
    background: rgba(245, 158, 11, 0.18);
    color: #fcd34d;
  }

  .ic-blue {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
  }

  .ic-cyan {
    background: rgba(6, 182, 212, 0.18);
    color: #67e8f9;
  }
}

.note {
  margin-top: 28px;
  color: var(--muted);
}

/* ---------- Two columns (text + panel) ---------- */

.split {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.panel {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--tint);
}

@media (min-width: 640px) {
  .panel {
    padding: 36px;
  }
}

.panel h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
}

.panel h3 .ic {
  width: 28px;
  height: 28px;
  color: var(--accent-text);
}

.checklist {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 12px;
}

.checklist .ic {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--accent-text);
}

.checklist strong {
  display: block;
}

.checklist span {
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---------- Partners band ---------- */

.partners {
  --focus: #fff;
  --accent-text: #fff;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(40rem 24rem at 100% 0%, rgba(236, 72, 153, 0.28), transparent 60%),
    linear-gradient(135deg, #4c1d95 0%, #5b21b6 45%, #3730a3 100%);
  color: #fff;
}

.partners .kicker {
  color: #f5d0fe;
}

.partners .section-head p,
.partners .card p,
.partners .steps-inline span {
  color: rgba(255, 255, 255, 0.88);
}

.partners .card {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.partners .ic-wrap {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.steps-inline {
  display: grid;
  gap: 12px;
  margin: 40px 0 32px;
  padding: 0;
  list-style: none;
  counter-reset: pstep;
}

@media (min-width: 820px) {
  .steps-inline {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.steps-inline li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  counter-increment: pstep;
}

.steps-inline li::before {
  content: counter(pstep);
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #5b21b6;
  font-weight: 800;
}

.steps-inline strong {
  display: block;
}

.partners .actions {
  margin-bottom: 16px;
}

.small-links {
  margin: 0;
  font-size: 0.95rem;
}

.partners a:not(.btn) {
  color: #fff;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 820px;
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  padding: 20px 48px 20px 0;
  font-size: 1.08rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent-text);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list details p {
  margin: 0 0 20px;
  max-width: 70ch;
  color: var(--muted);
}

/* ---------- Final call to action ---------- */

.cta-band {
  --focus: #fff;
  padding: 48px 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(30rem 16rem at 0% 100%, rgba(236, 72, 153, 0.35), transparent 60%),
    linear-gradient(135deg, #6d28d9, #4338ca);
  color: #fff;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-band {
    padding: 64px 48px;
  }
}

.cta-band p {
  max-width: 36rem;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

.cta-band .actions {
  justify-content: center;
  margin: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  font-size: 0.97rem;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-grid p {
  margin: 0;
  color: var(--muted);
}

.footer-grid h2 {
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid a {
  color: var(--text);
}

.footer-grid .brand {
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

/* ---------- Text pages (legal, 404) ---------- */

.page {
  padding: 48px 0 80px;
}

@media (min-width: 768px) {
  .page {
    padding: 72px 0 104px;
  }
}

.prose {
  max-width: 760px;
}

.prose h1 {
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
}

.prose h2 {
  margin-top: 2.2em;
  font-size: 1.45rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 0.4em;
}

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

.callout {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--violet);
  border-radius: 0 12px 12px 0;
  background: var(--tint);
}

.callout p {
  margin: 0;
  color: var(--text);
}

.fields {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--border);
}

.fields div {
  display: grid;
  gap: 2px 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
  .fields div {
    grid-template-columns: 240px 1fr;
  }
}

.fields dt {
  font-weight: 700;
}

.fields dd {
  margin: 0;
  color: var(--muted);
}

.notfound {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.notfound .code {
  margin: 0;
  background: linear-gradient(90deg, var(--hl-from), var(--hl-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

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

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

  .btn:hover {
    transform: none;
  }
}

.split-gap {
  margin-top: 56px;
}

.footer-bottom:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
