/* ==========================================================================
   Passn — brand layer on top of the AIForge theme.
   Loaded AFTER the theme's main.css, so everything here wins.

   The theme ships as an AI-SaaS template in neon yellow. Passn is a dating
   app: same dark, high-contrast structure, but the accent becomes the app's
   own boost red, the type warms up, and the AI-specific decoration is
   replaced with the product's own motif (two routes, one crossing).
   ========================================================================== */

:root {
  /* theme overrides — every component reads these */
  --theme: #ff4b45;          /* Passn red, brightened for a dark canvas */
  --btn-fill: #d9342d;       /* button background: 4.6:1 against white text */
  --theme-deep: #e5342a;     /* the app's exact boost red */
  --theme-soft: #ff8079;
  --theme2: #ff4b45;
  --theme3: #ff4b45;
  --theme5: #ff4b45;
  --theme6: #ff8079;
  --gold: #dcb449;

  --body-bg: #111014;
  --bg: #17161b;
  --header: #111014;
  --border: #2a2830;
  --text: #c9c6cf;
}

body,
body.body-bg { background-color: var(--body-bg); }

/* The theme parks the offcanvas drawer just off the right edge; without this
   it adds a few pixels of horizontal scroll on phones. */
html, body { overflow-x: hidden; max-width: 100%; }

/* ---------- selection / focus ---------- */
::selection { background: rgba(255, 75, 69, 0.28); color: #fff; }
a:focus-visible,
button:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }

/* ---------- buttons ---------- */
.theme-btn {
  border-radius: 999px;
  /* --theme (#FF4B45) against white text is only 3.31:1. The button fill is a
     shade darker so body-size labels clear 4.5:1; the accent itself is
     unchanged everywhere it is used as an accent rather than a background. */
  background: var(--btn-fill);
  color: #fff;
  border-color: transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.theme-btn::after { background-color: #fff; }
/* The theme wipes a fill across the button on hover; make sure the label is
   dark against it rather than white-on-salmon (was 2.44:1). */
.theme-btn:hover,
.theme-btn:hover i,
#header-sticky .header-right .theme-btn:hover { color: #121115 !important; }
.theme-btn.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.theme-btn.btn-outline::after { background-color: #fff; }
.theme-btn.btn-outline:hover { color: #121115; border-color: #fff; }

/* ---------- section titles ---------- */
.section-title h6,
.section-title.style-6 h6 {
  color: var(--theme);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}
.section-title h2 { color: #fff; letter-spacing: -0.02em; }
.section-title h2 em,
h1 em,
h2 em {
  font-style: italic;
  color: var(--theme);
  font-weight: inherit;
}
.text-theme { color: var(--theme) !important; }

/* ---------- header ---------- */
.header-6,
#header-sticky.header-6 { background: rgba(17, 16, 20, 0.86); backdrop-filter: blur(14px); }
#header-sticky.sticky { background: rgba(17, 16, 20, 0.96) !important; }
.header-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.header-logo .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
.header-logo .brand-word {
  font-family: "Urbanist", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.main-menu ul li a { font-family: "Urbanist", sans-serif; font-weight: 600; }
.main-menu ul li a:hover,
.main-menu ul li.active > a { color: var(--theme); }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; }
.lang-switch a {
  font-family: "Urbanist", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  padding: 4px 8px;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1;
}
.lang-switch a.is-active { color: #fff; background: rgba(255, 255, 255, 0.12); }
.lang-switch a:hover { color: var(--theme); }

/* ---------- hero ---------- */
.passn-hero {
  position: relative;
  padding: 190px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(900px 620px at 78% 12%, rgba(255, 75, 69, 0.20), transparent 62%),
    radial-gradient(760px 520px at 6% 84%, rgba(220, 180, 73, 0.12), transparent 66%),
    var(--body-bg);
}
@media (max-width: 991px) { .passn-hero { padding: 150px 0 80px; } }
.passn-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
}
.passn-hero .container { position: relative; z-index: 2; }
.passn-hero h1 {
  font-family: "Urbanist", sans-serif;
  font-size: clamp(2.7rem, 5.4vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: #fff;
  font-weight: 800;
  margin-bottom: 22px;
}
.passn-hero p.lead-text {
  color: var(--text);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.65;
  max-width: 33em;
  margin-bottom: 32px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: "Urbanist", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-eyebrow .pip {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--theme);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #fff;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta i { color: var(--theme); font-size: 12px; }

/* ---------- hero artwork: profile card fan ---------- */
.fan {
  position: relative;
  height: clamp(400px, 42vw, 520px);
  max-width: 520px;
  margin-inline: auto;
}
.fan__card {
  position: absolute;
  width: clamp(196px, 22vw, 246px);
  aspect-ratio: 3 / 4.15;
  border-radius: 28px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}
.fan__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 8, 12, 0.62), transparent 52%);
}
.fan__card > * { position: relative; z-index: 2; }
.fan__card--a {
  left: 0;
  top: 42px;
  background: linear-gradient(165deg, #f0a28c, #c4646c);
  transform: rotate(-8deg);
  z-index: 1;
}
.fan__card--b {
  left: 50%;
  top: 0;
  transform: translateX(-48%) rotate(2deg);
  background: linear-gradient(160deg, #e18b7d, #a9525f);
  z-index: 3;
}
.fan__card--c {
  right: 0;
  top: 64px;
  background: linear-gradient(160deg, #d9926a, #b05a54);
  transform: rotate(9deg);
  z-index: 2;
}
.fan__name {
  font-family: "Urbanist", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.fan__place {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}
.fan__like {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--theme);
  display: grid;
  place-items: center;
  font-size: 18px;
  z-index: 3;
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.6);
}
.fan__badge {
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%) rotate(-2deg);
  background: #fff;
  color: #121115;
  border-radius: 999px;
  padding: 11px 20px;
  font-family: "Urbanist", sans-serif;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  z-index: 5;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
}
.fan__badge i { color: var(--theme); margin-right: 7px; }

/* ---------- crossing diagram ---------- */
.crossing-art { width: 100%; max-width: 620px; margin-inline: auto; display: block; }
.crossing-art text {
  font-family: "Urbanist", sans-serif;
  font-size: 13px;
  fill: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.12em;
}
.crossing-art .lbl { fill: #fff; font-weight: 700; }
.crossing-art .flow { animation: passnflow 26s linear infinite; }
@keyframes passnflow { to { stroke-dashoffset: -160; } }

/* ---------- generic dark panels ---------- */
.passn-section { padding: clamp(70px, 8vw, 120px) 0; position: relative; }
.passn-section.alt { background: var(--bg); }
.passn-section.hairline-top { border-top: 1px solid var(--border); }

.p-card {
  height: 100%;
  padding: 32px 30px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.p-card:hover {
  border-color: rgba(255, 75, 69, 0.5);
  transform: translateY(-6px);
}
.p-card .p-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 75, 69, 0.12);
  border: 1px solid rgba(255, 75, 69, 0.28);
  color: var(--theme);
  font-size: 21px;
  margin-bottom: 22px;
}
.p-card h4,
.p-card h3 {
  color: #fff;
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  font-size: 1.28rem;
}
.p-card p { color: var(--text); margin-bottom: 0; font-size: 15.5px; line-height: 1.68; }
.p-card p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.p-card .step-no {
  font-family: "Urbanist", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--theme);
  display: block;
  margin-bottom: 14px;
}

/* stat / funfact */
.p-stat { padding: 26px 0; }
.p-stat h3 {
  font-family: "Urbanist", sans-serif;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.p-stat h3 span { color: var(--theme); }
.p-stat p { color: var(--text); font-size: 14.5px; margin-bottom: 0; line-height: 1.55; }
.stat-rail {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-rail > [class*="col-"] + [class*="col-"] { border-left: 1px solid var(--border); }
@media (max-width: 767px) {
  .stat-rail > [class*="col-"] + [class*="col-"] { border-left: 0; }
  .stat-rail > [class*="col-"] { border-top: 1px solid var(--border); }
  .stat-rail > [class*="col-"]:first-child { border-top: 0; }
}

/* pill list */
.p-pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.p-pills li {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
}

/* callout */
.p-note {
  border-left: 3px solid var(--theme);
  padding: 6px 0 6px 22px;
  color: var(--text);
  font-size: 15.6px;
  line-height: 1.7;
}
.p-note strong { color: #fff; }
.p-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* lists with a red tick */
.p-list { list-style: none; padding: 0; margin: 18px 0 0; }
.p-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 15.6px;
  line-height: 1.65;
}
.p-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 12px;
  color: var(--theme);
}

/* ---------- marquee band ---------- */
.passn-marquee {
  border-block: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  padding: 18px 0;
}
.passn-marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 2.6rem;
  white-space: nowrap;
  width: max-content;
  animation: passnticker 60s linear infinite;
  font-family: "Urbanist", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.passn-marquee:hover .passn-marquee__track { animation-play-state: paused; }
.passn-marquee i { color: var(--theme); font-size: 11px; }
@keyframes passnticker { to { transform: translateX(-50%); } }

/* ---------- phone frame ---------- */
.p-phone {
  width: min(100%, 300px);
  aspect-ratio: 300 / 620;
  margin-inline: auto;
  border-radius: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #1b1a20;
  padding: 10px;
  position: relative;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
}
.p-phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 35px;
  background: #fbf8f0;
  overflow: hidden;
  position: relative;
}
.p-phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 22px;
  border-radius: 999px;
  background: #111014;
  z-index: 4;
}
.p-screen {
  position: absolute;
  inset: 0;
  padding: 48px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #11100c;
}
.p-screen__title {
  font-family: "Urbanist", sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.p-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(17, 16, 12, 0.08);
  border-radius: 14px;
  padding: 9px;
}
.p-av {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  flex: none;
  background: linear-gradient(150deg, #f0a28c, #c4646c);
}
.p-lines { display: grid; gap: 5px; flex: 1; }
.p-line { height: 6px; border-radius: 4px; background: #ece7dc; }
.p-line.sm { width: 46%; }
.p-line.md { width: 70%; background: #ded8cb; }
.p-posters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.p-poster {
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background: linear-gradient(160deg, #f0a28c, #c4646c);
  position: relative;
}
.p-poster:nth-child(2) { background: linear-gradient(160deg, #e18b7d, #a9525f); }
.p-poster:nth-child(3) { background: linear-gradient(160deg, #d9926a, #b05a54); }
.p-poster:nth-child(4) { background: linear-gradient(160deg, #c4646c, #a9525f); }
.p-poster::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 26px;
  bottom: 9px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.55);
}
.p-bubbles { display: grid; gap: 7px; }
.p-bub { max-width: 78%; padding: 9px 12px; border-radius: 15px; font-size: 11px; }
.p-bub.in { background: #f6f1e6; border: 1px solid rgba(17, 16, 12, 0.07); border-bottom-left-radius: 5px; }
.p-bub.out { background: #11100c; margin-left: auto; border-bottom-right-radius: 5px; }
.p-bub .p-line { background: #e2dccf; }
.p-bub.out .p-line { background: rgba(255, 255, 255, 0.5); }
.p-map {
  flex: 1;
  border-radius: 18px;
  border: 1px solid rgba(17, 16, 12, 0.08);
  background:
    linear-gradient(rgba(17, 16, 12, 0.05) 1px, transparent 1px) 0 0 / 100% 34px,
    linear-gradient(90deg, rgba(17, 16, 12, 0.05) 1px, transparent 1px) 0 0 / 34px 100%,
    #fff;
  position: relative;
  overflow: hidden;
}
.p-pin {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(229, 52, 42, 0.14);
  border: 1px solid rgba(229, 52, 42, 0.4);
}
.p-pin::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: #e5342a;
}
.p-pin.a { top: 20%; left: 16%; }
.p-pin.b { top: 50%; left: 56%; opacity: 0.8; }
.p-pin.c { top: 74%; left: 28%; opacity: 0.55; }
.p-tabs {
  height: 42px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 16, 12, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-inline: 10px;
}
.p-tab { width: 16px; height: 16px; border-radius: 5px; background: #ece7dc; }
.p-tab.on { background: #11100c; }

/* ---------- tables ---------- */
.p-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}
.p-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.p-table th,
.p-table td { padding: 16px 20px; text-align: left; vertical-align: top; }
.p-table thead th {
  font-family: "Urbanist", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.p-table tbody td { border-bottom: 1px solid rgba(255, 255, 255, 0.06); color: var(--text); font-size: 15px; }
.p-table tbody tr:last-child td { border-bottom: 0; }
.p-table tbody td:first-child { color: #fff; font-weight: 600; }
.p-table .yes { color: var(--theme); font-weight: 700; }
.p-table .no { color: rgba(255, 255, 255, 0.3); }
.p-table a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ (theme accordion, retuned) ---------- */
.accordion-item {
  background: rgba(255, 255, 255, 0.025) !important;
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  margin-bottom: 14px;
  overflow: hidden;
}
.accordion-button {
  background: transparent !important;
  color: #fff !important;
  font-family: "Urbanist", sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.06rem !important;
  padding: 22px 26px !important;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) { color: var(--theme) !important; }
/* Bootstrap paints the chevron as a background-image with the fill baked into
   the SVG, so `color` does nothing — the icon has to be replaced. Stock fills
   are #212529 (near-black) and #052c65 (navy), both invisible here. */
.accordion-item {
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FF4B45'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-button::after { filter: none; }
.accordion-body { color: var(--text) !important; padding: 0 26px 22px !important; font-size: 15.4px; line-height: 1.7; }
.accordion-body a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- breadcrumb / page head ---------- */
.p-pagehead {
  position: relative;
  padding: 180px 0 78px;
  background:
    radial-gradient(700px 420px at 76% 0%, rgba(255, 75, 69, 0.16), transparent 62%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 991px) { .p-pagehead { padding: 140px 0 60px; } }
.p-pagehead h1 {
  font-family: "Urbanist", sans-serif;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 16px;
}
.p-pagehead p { color: var(--text); max-width: 62ch; font-size: 1.05rem; margin-bottom: 0; }
.p-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
}
.p-crumbs a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.p-crumbs a:hover { color: var(--theme); }

/* ---------- legal prose ---------- */
.p-doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 991px) { .p-doc { grid-template-columns: minmax(0, 1fr); } }
.p-doc > * { min-width: 0; }
.p-toc {
  position: sticky;
  top: 110px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  padding: 22px;
}
@media (max-width: 991px) { .p-toc { position: static; } }
.p-toc h4 {
  font-family: "Urbanist", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}
.p-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 9px; color: rgba(255, 255, 255, 0.4); font-size: 14px; }
.p-toc a { color: var(--text); text-decoration: none; }
.p-toc a:hover { color: var(--theme); }

.p-prose { max-width: 74ch; color: var(--text); font-size: 16.4px; line-height: 1.78; }
.p-prose > * + * { margin-top: 1.1em; }
.p-prose h2 {
  font-family: "Urbanist", sans-serif;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px solid var(--border);
  scroll-margin-top: 110px;
}
.p-prose h3 {
  font-family: "Urbanist", sans-serif;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 1.7em;
  scroll-margin-top: 110px;
}
.p-prose h4 { color: #fff; font-weight: 700; margin-top: 1.5em; }
.p-prose strong { color: #fff; }
.p-prose a { color: var(--theme); text-decoration: underline; text-underline-offset: 3px; }
.p-prose ul,
.p-prose ol { padding-left: 22px; }
.p-prose li { margin-block: 0.5em; }
.p-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 6px;
  color: #fff;
}
.p-prose pre {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 0.88em;
}
.p-prose pre code { background: none; border: 0; padding: 0; }
.p-prose blockquote {
  border-left: 3px solid var(--theme);
  padding-left: 20px;
  margin: 1.5em 0;
  color: #fff;
}
.p-prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.4em 0; opacity: 1; }
.p-prose .p-table-wrap { margin-block: 1.6em; }
.p-prose table { width: 100%; min-width: 520px; border-collapse: collapse; }
.p-prose table th,
.p-prose table td { padding: 13px 18px; text-align: left; vertical-align: top; font-size: 15px; }
.p-prose table thead th {
  color: #fff;
  font-family: "Urbanist", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.p-prose table tbody td { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.p-doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 18px;
}
.p-doc-meta a { color: rgba(255, 255, 255, 0.8); }

/* ---------- contact tiles ---------- */
.p-contact {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.025);
  height: 100%;
}
.p-contact h4 {
  font-family: "Urbanist", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}
.p-contact a {
  color: #fff;
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  word-break: break-word;
}
.p-contact a:hover { color: var(--theme); }
.p-contact p { color: var(--text); font-size: 14px; margin: 8px 0 0; line-height: 1.6; }

/* ---------- footer ---------- */
.p-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: clamp(56px, 7vw, 92px) 0 30px;
  position: relative;
  overflow: hidden;
}
.p-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(720px 380px at 84% 0%, rgba(255, 75, 69, 0.10), transparent 62%);
  pointer-events: none;
}
.p-footer .container { position: relative; z-index: 2; }
.p-footer h4 {
  font-family: "Urbanist", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
}
.p-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.p-footer ul a { color: var(--text); text-decoration: none; font-size: 15px; }
.p-footer ul a:hover { color: var(--theme); }
.p-footer .f-blurb { color: var(--text); font-size: 15px; line-height: 1.7; max-width: 34ch; }
.p-footer-bottom {
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  line-height: 1.7;
}
.p-footer-bottom strong { color: rgba(255, 255, 255, 0.75); font-weight: 600; }
.p-wordmark {
  font-family: "Urbanist", sans-serif;
  font-size: clamp(3.4rem, 12vw, 8.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.05);
  user-select: none;
  margin-bottom: 34px;
}

/* ---------- misc ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--theme);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  z-index: 999;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }
.text-muted-2 { color: rgba(255, 255, 255, 0.45) !important; }
.mw-60 { max-width: 60ch; }
.mw-46 { max-width: 46ch; }

@media (prefers-reduced-motion: reduce) {
  .passn-marquee__track,
  .crossing-art .flow { animation: none !important; }
}


/* ---------- mean-menu drawer fallback (see src/site.js) ---------- */
.passn-fallback-menu { list-style: none; padding: 0; margin: 0; }
.passn-fallback-menu li { border-bottom: 1px solid var(--border); }
.passn-fallback-menu a {
  display: block;
  padding: 14px 2px;
  color: #fff;
  text-decoration: none;
  font-family: "Urbanist", sans-serif;
  font-weight: 600;
  font-size: 17px;
}
.passn-fallback-menu a:hover { color: var(--theme); }

/* the theme hides the desktop nav under 1200px and swaps in mean-menu; make
   sure our brand word never wraps in that band */
@media (max-width: 1199px) { .header-logo .brand-word { font-size: 23px; } }
@media (max-width: 400px) { .header-logo .brand-word { font-size: 20px; } }


/* ---------- sentence case ----------
   The theme title-cases headings and buttons (text-transform: capitalize),
   which turns real sentences into "Is A Better Introduction Than An". Our copy
   is written in sentence case, so let it through untouched — except the small
   mono-style kickers, which stay uppercase on purpose. */
h1, h2, h3, h4, h5, h6,
.passn-hero h1,
.section-title h2,
.p-card h3, .p-card h4,
.p-stat h3,
.accordion-button,
.theme-btn,
.p-pagehead h1,
.p-prose h2, .p-prose h3, .p-prose h4 { text-transform: none !important; }

.section-title h6,
.section-title.style-6 h6,
.hero-eyebrow,
.p-contact h4,
.p-footer h4,
.p-toc h4,
.p-table thead th,
.fan__place,
.passn-marquee__track { text-transform: uppercase !important; }


/* ---------- custom cursor ----------
   main.js makes both cursor rings visible at init, before the first
   mousemove — so on touch devices (and in screenshots) they sit stuck in the
   top-left corner. Hide them wherever there is no fine pointer. */
@media (hover: none), (pointer: coarse), (max-width: 991px) {
  .mouse-cursor { display: none !important; }
}

/* ---------- hero card fan on small screens ---------- */
@media (max-width: 575px) {
  .fan { height: 340px; max-width: 340px; }
  .fan__card { width: 152px; border-radius: 22px; padding: 14px; }
  .fan__name { font-size: 1.08rem; }
  .fan__place { font-size: 10.5px; }
  .fan__like { width: 38px; height: 38px; font-size: 15px; right: 12px; bottom: 12px; }
  .fan__badge { font-size: 11.5px; padding: 9px 15px; }
}


/* ---------- reveal safety net (CSS half) ----------
   If JavaScript never runs at all, animate.css would leave every .wow element
   invisible. Under reduced-motion, and for anyone without JS, show them. */
@media (prefers-reduced-motion: reduce) {
  .wow { visibility: visible !important; animation: none !important; opacity: 1 !important; }
}


/* ---------- anchor offset ----------
   The header is sticky (~96px tall with padding), so a jump to #section would
   otherwise park the heading underneath it. */
section[id], div[id], h2[id], h3[id] { scroll-margin-top: 110px; }


/* ---------- body copy ----------
   The theme only styles `.text` when it is nested under one of its own
   wrappers, so our bare `p.text` would fall back to the raw body colour. */
.text {
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.72;
  margin-top: 14px;
  margin-bottom: 0;
}
.text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.text a:hover { color: var(--theme); }


/* ---------- above the fold paints immediately ----------
   animate.css hides .wow elements and the theme staggers them with delays, so
   the first thing a visitor sees would be an empty hero for a few hundred
   milliseconds. Everything above the fold is exempt; the rest still animates. */
.passn-hero .wow,
.p-pagehead .wow {
  visibility: visible !important;
  animation: none !important;
  opacity: 1 !important;
}


/* ---------- real screenshots inside the phone frame ---------- */
/* Match the capture's own ratio (iPhone 15/16 Pro = 1179x2556) so nothing of
   the UI — least of all the tab bar — gets cropped away. */
.p-phone--shot { aspect-ratio: 1179 / 2556; padding: 8px; }
.p-phone--shot .p-phone__screen { border-radius: 38px; }
.p-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 35px;
}


/* ---------- fixes from the 2026-08-05 design review ---------- */

/* Stat rail: the column rules were touching the text. */
.p-stat { padding: 26px 22px 26px 0; }
.stat-rail > [class*="col-"] + [class*="col-"] .p-stat { padding-left: 22px; }

/* The theme lower-cases nothing but capitalises the drawer's contact text,
   which turned support@passn.app into Support@Passn.App. */
.offcanvas__contact-text a,
.offcanvas__contact-text span { text-transform: none !important; }

/* Language switcher must survive on phones: it was d-none below 576px and the
   drawer had no replacement. */
.lang-switch { display: inline-flex !important; }
@media (max-width: 420px) {
  .lang-switch a { padding: 4px 6px; font-size: 13px; }
}

/* Hero card fan: at 390px the like button sat on top of the caption. */
@media (max-width: 575px) {
  .fan__card { padding-bottom: 16px; }
  .fan__like { width: 34px; height: 34px; font-size: 13px; right: 10px; bottom: auto; top: 12px; }
}

/* Wide tables scroll inside their own box — say so, and hint it visually. */
.p-table-wrap { position: relative; scrollbar-width: thin; }
.p-table-hint {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 10px;
}
/* The hint only matters where the table actually overflows. */
@media (min-width: 768px) {
  .p-table-hint { display: none; }
}
@media (max-width: 767px) {
  .p-table-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 46px;
    pointer-events: none;
    background: linear-gradient(to right, rgba(23, 22, 27, 0), rgba(23, 22, 27, 0.92));
    border-radius: 0 20px 20px 0;
  }
}

/* Legal prose that has no table of contents still needs the same measure. */
.p-doc--solo { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin-inline: auto; }
