/* Pixira Partners static site (pixira.ai/affiliate). The app's After Dark look (src/index.css .after-dark) and the
   partner lockup (.pd-partner-logo), restated with --pd-* tokens so these pages need no app CSS. Editorial layout:
   left-aligned type, hairline rules, numbers in the serif, real posters and product shots. Class names never start
   with "ad-": ad blockers hide those. */
:root {
  --pd-bg: #0f0b0d;
  --pd-surface: #1a1316;
  --pd-surface-2: #241a1e;
  --pd-line: #ffffff17;
  --pd-line-2: #ffffff26;
  --pd-text: #f3ebe4;
  --pd-muted: #a39a94;
  --pd-pink: #ff3d8e;
  --pd-pink-soft: #ff6ea8;
  --pd-ease: cubic-bezier(.2, .7, .2, 1);
  --pd-fast: 180ms;
  --pd-r-card: 18px;
  --pd-r-panel: 14px;
  --pd-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --pd-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --pd-art: url("https://cnnrwwfszqrdzkenywfp.supabase.co/storage/v1/object/public/companion-media/hero/bg-first-night.webp");
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--pd-bg);
  color: var(--pd-text);
  font: 400 16px/1.6 var(--pd-sans);
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2px solid var(--pd-text); outline-offset: 2px; }
a { color: var(--pd-pink-soft); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0 0 .5em; color: var(--pd-text); font-family: var(--pd-sans); text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 600; line-height: 1.02; letter-spacing: -.045em; }
h2 { font-size: clamp(27px, 3.4vw, 38px); font-weight: 600; line-height: 1.05; letter-spacing: -.04em; }
h3 { font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -.3px; }
/* One accent word per heading, like the app: pink-soft Instrument Serif italic. */
h1 i, h2 i, h3 i { font-family: var(--pd-serif); font-style: italic; font-weight: 400; font-size: 1.17em; line-height: 1; letter-spacing: -.01em; color: var(--pd-pink-soft); padding-right: 2px; }
p { margin: 0 0 1em; }
code {
  font: 500 .84em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--pd-text);
  background: var(--pd-surface-2);
  box-shadow: inset 0 0 0 1px var(--pd-line);
  padding: .16em .45em .2em;
  border-radius: 6px;
  overflow-wrap: anywhere;
}

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 40rem) { .wrap { padding: 0 32px; } }
.narrow { max-width: 808px; }
.section { padding-top: 88px; }
@media (max-width: 39.99rem) { .section { padding-top: 64px; } }
.max { max-width: 640px; }
.muted { color: var(--pd-muted); }
.small { font-size: 13.5px; }
.nowrap { white-space: nowrap; }
.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 500; color: var(--pd-muted); }
.lede { font-size: 17.5px; line-height: 1.55; color: color-mix(in srgb, var(--pd-text) 78%, transparent); }
.muted.max, .section > p.muted, .split p.muted { font-size: 16px; line-height: 1.6; }

/* Page depth: the app's hero art, faint, under a pink glow and a fade into the page (the partner login's veil). */
main { position: relative; isolation: isolate; flex: 1; }
main::before, main::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 640px; z-index: -1; pointer-events: none; }
main::before { background: var(--pd-art) 70% 28% / cover no-repeat; opacity: .26; }
main::after {
  background:
    radial-gradient(55% 55% at 30% 15%, color-mix(in srgb, var(--pd-pink) 11%, transparent), transparent 70%),
    linear-gradient(to bottom, color-mix(in srgb, var(--pd-bg) 50%, transparent), color-mix(in srgb, var(--pd-bg) 86%, transparent) 55%, var(--pd-bg));
}

/* Header: the partner lockup (pixira wordmark, hairline, "partners" in the serif) and quiet links. */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--pd-bg) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--pd-line); }
.top-in { display: flex; align-items: center; height: 60px; gap: 8px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; color: var(--pd-text); }
.brand:hover { text-decoration: none; }
.wordmark { display: inline-flex; align-items: center; font: 600 23px/1 var(--pd-sans); letter-spacing: -.03em; color: var(--pd-text); padding-top: .04em; white-space: nowrap; }
.wordmark-i { position: relative; display: inline-block; }
.wordmark-i svg { position: absolute; top: .01em; left: calc(50% + .015em); width: .27em; height: .27em; transform: translateX(-50%); color: var(--pd-pink); }
.brand-rule { width: 1px; height: 20px; background: color-mix(in srgb, var(--pd-text) 22%, transparent); }
.brand-word { font: italic 400 23px/1 var(--pd-serif); color: var(--pd-pink-soft); letter-spacing: -.01em; padding: 0 2px 2px 0; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 2px; min-width: 0; }
.top nav a:not(.btn) { display: inline-block; height: 36px; line-height: 36px; padding: 0 11px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: color-mix(in srgb, var(--pd-text) 82%, transparent); white-space: nowrap; transition: color var(--pd-fast), background var(--pd-fast) var(--pd-ease); }
.top nav a:not(.btn):hover { color: var(--pd-text); background: var(--pd-surface-2); text-decoration: none; }
.top nav .btn { margin-left: 8px; }
@media (max-width: 47.99rem) { .top nav a.nav-wide { display: none; } }
@media (max-width: 39.99rem) {
  .top-in { gap: 4px; }
  .top .nav-long { display: none; }
  .top nav a:not(.btn) { padding: 0 8px; }
  .top nav .btn { margin-left: 4px; }
  .top .brand { gap: 9px; }
  .top .wordmark, .top .brand-word { font-size: 21px; }
}
@media (max-width: 22rem) { .top nav a:not(.btn) { padding: 0 6px; font-size: 13px; } .top .brand-rule { display: none; } .top .brand { gap: 6px; } }

/* Buttons: the app's primary pill (text lifted 2px for optical centring); secondary actions are arrow links. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px 2px; border: 0; border-radius: 999px;
  background: var(--pd-pink); color: #fff; font: 600 15.5px var(--pd-sans); letter-spacing: -.2px; white-space: nowrap;
  box-shadow: 0 12px 30px -10px #ff3d8eaa; cursor: pointer;
  transition: transform var(--pd-fast) var(--pd-ease), filter var(--pd-fast);
}
.btn:hover { filter: brightness(1.06); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: default; filter: none; transform: none; }
.btn-sm { height: 36px; padding: 0 17px 2px; font-size: 13.5px; box-shadow: 0 8px 20px -8px #ff3d8eaa; }
.btn-lg { height: 56px; padding: 0 30px 2px; font-size: 16.5px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--pd-text); }
.link-arrow::after { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; color: var(--pd-pink-soft); transition: transform var(--pd-fast) var(--pd-ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Hero: copy on the left, her posters on the right. */
.hero { padding: 56px 0 8px; }
@media (min-width: 60rem) { .hero { padding: 72px 0 24px; } }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; } }
.hero h1 { font-size: clamp(42px, 6.6vw, 76px); text-shadow: 0 2px 24px #0008; }
.hero .lede { max-width: 36rem; text-shadow: 0 1px 12px color-mix(in srgb, var(--pd-bg) 70%, transparent); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 30px 0 28px; }
.founding { display: flex; align-items: flex-start; gap: 12px; max-width: 34rem; margin: 0; padding-top: 16px; border-top: 1px solid var(--pd-line); font-size: 14.5px; line-height: 1.45; color: var(--pd-muted); }
.founding strong { color: var(--pd-text); font-weight: 600; }
.dot { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--pd-pink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pd-pink) 20%, transparent); flex: none; }
.hero-art { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; }
.hero-poster { position: relative; margin: 0; overflow: hidden; border-radius: var(--pd-r-card); background: var(--pd-surface); box-shadow: 0 30px 60px -30px #000; }
.hero-poster img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero-poster::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(to top, #000b, transparent 42%); box-shadow: inset 0 0 0 1px #ffffff12; }
.hero-poster figcaption { position: absolute; z-index: 1; left: 14px; bottom: 11px; font-weight: 600; font-size: 15px; letter-spacing: -.2px; }
.hero-poster figcaption span { font-weight: 400; color: color-mix(in srgb, var(--pd-text) 70%, transparent); margin-left: 3px; }
.hero-poster.p1 { grid-row: span 2; aspect-ratio: 3 / 4.3; }
.hero-poster.p2, .hero-poster.p3 { aspect-ratio: 4 / 4.4; }
.hero-poster.p4 { display: none; }
@media (max-width: 59.99rem) {
  .hero-art { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hero-poster.p1 { grid-row: auto; }
  .hero-poster.p1, .hero-poster.p2, .hero-poster.p3 { aspect-ratio: 3 / 4; }
}
@media (max-width: 39.99rem) {
  .hero-art { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .45fr); margin-right: -16px; overflow: hidden; }
  .hero-poster figcaption { left: 11px; bottom: 9px; font-size: 14px; }
  .hero-poster.p3 figcaption { display: none; }
  .hero-poster { border-radius: var(--pd-r-panel); }
  .hero-poster.p3 { border-radius: var(--pd-r-panel) 0 0 var(--pd-r-panel); }
  .hero-cta .btn { flex: 1 1 auto; }
}

/* Terms at a glance: one ruled row, figures in the serif. */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 56px; border-block: 1px solid var(--pd-line); }
.wrap.stats { width: calc(100% - 32px); max-width: calc(1200px - 64px); padding: 0; }
@media (min-width: 40rem) { .wrap.stats { width: calc(100% - 64px); } }
.stat { min-width: 0; padding: 22px 20px 20px; border-left: 1px solid var(--pd-line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font: italic 400 clamp(38px, 4.2vw, 52px)/1 var(--pd-serif); letter-spacing: -.01em; color: var(--pd-text); white-space: nowrap; }
.stat:first-child b, .stat:nth-child(2) b { color: var(--pd-pink-soft); }
.stat span { display: block; margin-top: 8px; color: var(--pd-muted); font-size: 13.5px; line-height: 1.4; }
@media (max-width: 59.99rem) {
  .stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .stat { grid-column: span 2; border-top: 1px solid var(--pd-line); }
  .stat:nth-child(-n+3) { border-top: 0; }
  .stat:nth-child(n+4) { grid-column: span 3; }
  .stat:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 39.99rem) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 44px; }
  .stat, .stat:nth-child(n+4) { grid-column: auto; padding: 18px 0 16px 16px; border-left: 1px solid var(--pd-line); border-top: 1px solid var(--pd-line); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:last-child { grid-column: 1 / -1; }
}

/* How it works: three ruled columns, big serif numerals. */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.step { padding-top: 18px; border-top: 1px solid var(--pd-line-2); }
.num { display: block; margin-bottom: 18px; font: italic 400 46px/1 var(--pd-serif); color: var(--pd-pink-soft); }
.step h3 { font-size: 19px; letter-spacing: -.5px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--pd-muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 47.99rem) { .steps { grid-template-columns: minmax(0, 1fr); gap: 0; } .step { display: grid; grid-template-columns: 64px minmax(0, 1fr); padding: 18px 0 20px; } .num { grid-row: span 2; margin: 0; font-size: 40px; } }

/* The maths: a worked commission example as a ledger. */
.maths { display: grid; gap: 28px 64px; padding: 36px 0 0; border-top: 1px solid var(--pd-line-2); }
@media (min-width: 60rem) { .maths { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.maths-head p { max-width: 26rem; font-size: 15px; }
.ledger { margin: 0; }
.ledger > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--pd-line); }
.ledger > div:first-child { padding-top: 0; }
.ledger dt { font-size: 15.5px; font-weight: 600; letter-spacing: -.2px; }
.ledger dd { margin: 0; display: contents; }
.ledger dd b { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: italic 400 clamp(34px, 3.6vw, 44px)/1 var(--pd-serif); color: var(--pd-text); text-align: right; white-space: nowrap; }
.ledger dd span { grid-column: 1; font-size: 13.5px; color: var(--pd-muted); }
.ledger > .ledger-total { border-bottom: 0; }
.ledger-total dd b { color: var(--pd-pink-soft); font-size: clamp(44px, 5vw, 60px); }

/* Two-column bands: copy beside a product shot, the dashboard or the FAQ. */
.split { display: grid; gap: 36px 64px; align-items: center; }
@media (min-width: 60rem) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.split .link-arrow { margin-top: 6px; }
.shot { margin: 0; overflow: hidden; border-radius: var(--pd-r-card); box-shadow: inset 0 0 0 1px var(--pd-line), 0 40px 80px -40px #000; }
.shot img { width: 100%; height: auto; }
.features { margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.features > div { padding: 16px 0 18px; border-top: 1px solid var(--pd-line); }
.features dt { font-size: 16px; font-weight: 600; letter-spacing: -.3px; margin-bottom: 4px; }
.features dd { margin: 0; color: var(--pd-muted); font-size: 14.5px; line-height: 1.55; }
.features-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; }
.features-4 > div { border-top-color: var(--pd-line-2); }
@media (max-width: 59.99rem) { .features-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 39.99rem) { .features, .features-4 { grid-template-columns: minmax(0, 1fr); } }

/* The girls: real posters, name on the image, the deep link under it. */
.girls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 14px; margin-top: 28px; }
.girl { min-width: 0; }
.girl-img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--pd-r-card); background: var(--pd-surface); }
.girl-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .6s var(--pd-ease); }
.girl:hover .girl-img img { transform: scale(1.03); }
.girl-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(to top, #000b, transparent 45%); box-shadow: inset 0 0 0 1px #ffffff12; pointer-events: none; }
.girl h3 { position: absolute; z-index: 1; left: 14px; bottom: 10px; margin: 0; font-size: 18px; }
.girl .age { color: color-mix(in srgb, var(--pd-text) 70%, transparent); font-weight: 400; font-size: 15px; }
.girl p { margin: 12px 0 8px; color: var(--pd-muted); font-size: 14px; line-height: 1.5; }
.girl code { display: inline-block; font-size: 11.5px; color: color-mix(in srgb, var(--pd-text) 75%, transparent); background: none; box-shadow: none; padding: 0; }
@media (max-width: 59.99rem) { .girls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 39.99rem) { .girls { gap: 22px 10px; } .girl h3 { left: 11px; bottom: 8px; font-size: 16px; } .girl p { font-size: 13.5px; } .girl code { font-size: 10.5px; } }

/* Dashboard preview: the /partner overview drawn small. */
.dash { position: relative; margin: 0; border-radius: var(--pd-r-card); background: var(--pd-surface); box-shadow: inset 0 0 0 1px var(--pd-line), 0 40px 80px -40px #000; overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--pd-line); font-size: 12px; color: var(--pd-muted); background: color-mix(in srgb, var(--pd-bg) 50%, transparent); }
.dash-dots { display: inline-flex; gap: 6px; }
.dash-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--pd-surface-2); box-shadow: inset 0 0 0 1px var(--pd-line-2); }
.dash-body { padding: 16px 18px 20px; }
.dash-tabs { display: flex; gap: 18px; overflow: hidden; padding-bottom: 10px; border-bottom: 1px solid var(--pd-line); font-size: 13px; font-weight: 600; color: var(--pd-muted); white-space: nowrap; }
.dash-tabs b { color: var(--pd-text); font-weight: 600; box-shadow: 0 11px 0 -9px var(--pd-pink); }
.dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; }
.dash-stats > div { min-width: 0; padding: 0 12px; border-left: 1px solid var(--pd-line); }
.dash-stats > div:first-child { padding-left: 0; border-left: 0; }
.dash-stats span { display: block; font-size: 12px; color: var(--pd-muted); }
.dash-stats b { display: block; margin-top: 4px; font-size: 22px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dash-stats > div:last-child b { color: var(--pd-pink-soft); }
.dash-stats small { display: block; font-size: 11px; color: var(--pd-muted); }
.dash-chart { margin-top: 18px; }
.dash-chart-h { font-size: 12px; color: var(--pd-muted); }
.dash-bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; margin-top: 8px; border-bottom: 1px solid var(--pd-line); }
.dash-bars i { flex: 1 1 0; min-width: 0; border-radius: 3px 3px 0 0; background: var(--pd-pink); opacity: .9; }
.dash-bars i:nth-child(-n+20) { opacity: .55; }
.dash figcaption { position: absolute; top: 10px; right: 14px; font: italic 400 15px/1 var(--pd-serif); color: var(--pd-muted); }
@media (max-width: 39.99rem) { .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; } .dash-stats > div:nth-child(3) { padding-left: 0; border-left: 0; } .dash-bars { height: 90px; } }

/* Tables: ruled, no box; the Pixira row marked with a pink rule. */
.table, .prose table { -webkit-overflow-scrolling: touch; }
.table { overflow-x: auto; margin: 28px 0 0; border-top: 1px solid var(--pd-line-2); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; min-width: 640px; }
th, td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--pd-line); vertical-align: top; }
th { padding-top: 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pd-muted); white-space: nowrap; }
td { color: color-mix(in srgb, var(--pd-text) 80%, transparent); }
td:first-child { color: var(--pd-text); font-weight: 600; }
.table th:first-child, .table td:first-child { padding-left: 14px; }
tr.us { background: linear-gradient(to right, color-mix(in srgb, var(--pd-pink) 10%, transparent), transparent 85%); }
tr.us td { color: var(--pd-text); font-weight: 600; }
tr.us td:first-child { color: var(--pd-pink-soft); box-shadow: inset 2px 0 0 var(--pd-pink); }

/* Posts: an editorial list, ruled, the category as a small tracked label. */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 20px; }
@media (max-width: 59.99rem) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 39.99rem) { .posts { grid-template-columns: minmax(0, 1fr); } }
.post-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 20px 0 24px; border-top: 1px solid var(--pd-line-2); color: var(--pd-text); }
.post-card:hover { text-decoration: none; }
.post-card h3 { margin: 2px 0 0; font-size: 19px; line-height: 1.22; letter-spacing: -.5px; transition: color var(--pd-fast); }
.post-card:hover h3 { color: var(--pd-pink-soft); }
.post-card p { margin: 0; color: var(--pd-muted); font-size: 14.5px; line-height: 1.55; }
.post-card .meta { margin-top: auto; padding-top: 6px; }
.tag { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pd-pink-soft); }
.meta { color: var(--pd-muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 26px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--pd-line); }
.chips a { font-size: 14.5px; font-weight: 600; color: color-mix(in srgb, var(--pd-text) 80%, transparent); }
.chips a:hover { color: var(--pd-pink-soft); text-decoration: none; }
.cat-h { margin-top: 64px; scroll-margin-top: 84px; }

/* FAQ: the heading on the left, ruled questions on the right. */
.split-faq { align-items: start; }
@media (min-width: 60rem) { .split-faq { grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); } .split-faq > h2 { position: sticky; top: 92px; } }
.faq { display: grid; border-top: 1px solid var(--pd-line-2); }
.faq details { border-bottom: 1px solid var(--pd-line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 18px 44px 18px 0; font-weight: 600; font-size: 16.5px; letter-spacing: -.3px; transition: color var(--pd-fast); }
.faq summary:hover { color: var(--pd-pink-soft); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 1.5px; background: var(--pd-muted); transition: transform var(--pd-fast) var(--pd-ease), background var(--pd-fast); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details[open] summary::before, .faq details[open] summary::after { background: var(--pd-pink-soft); }
.faq details p { color: var(--pd-muted); font-size: 15px; line-height: 1.65; margin: 0; padding: 0 44px 20px 0; max-width: 46rem; }

/* CTA: a band over the app's art. */
.cta-band { margin: 104px 0 0; }
.cta-in {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 22px 40px; flex-wrap: wrap;
  min-height: 300px; padding-top: 48px; padding-bottom: 48px; border-radius: 26px;
  background: var(--pd-surface);
  box-shadow: inset 0 0 0 1px var(--pd-line);
}
.cta-in::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--pd-art) 70% 30% / cover no-repeat; opacity: .6; }
.cta-in::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, var(--pd-bg) 0%, color-mix(in srgb, var(--pd-bg) 80%, transparent) 45%, color-mix(in srgb, var(--pd-bg) 30%, transparent)), radial-gradient(60% 90% at 90% 100%, color-mix(in srgb, var(--pd-pink) 22%, transparent), transparent 70%); }
.cta-band > .wrap { max-width: calc(1200px - 64px); padding-left: 40px; padding-right: 40px; }
.cta-in h2 { margin-bottom: 10px; font-size: clamp(30px, 4vw, 46px); }
.cta-in p { color: color-mix(in srgb, var(--pd-text) 76%, transparent); margin: 0; max-width: 520px; font-size: 16px; }
@media (max-width: 39.99rem) { .cta-band { margin-top: 72px; } .cta-band > .wrap { width: calc(100% - 32px); padding: 32px 20px 24px; } .cta-in { min-height: 0; } .cta-in .btn { width: 100%; } .cta-in::after { background: linear-gradient(to top, var(--pd-bg) 10%, color-mix(in srgb, var(--pd-bg) 70%, transparent)); } }

/* Article */
.crumbs { font-size: 13.5px; color: var(--pd-muted); margin-bottom: 16px; }
.crumbs a { color: var(--pd-muted); font-weight: 500; }
.crumbs a:hover { color: var(--pd-text); }
article h1 { font-size: clamp(32px, 4.8vw, 50px); }
article > .meta { margin-top: 6px; }
.disclosure { font-size: 13.5px; line-height: 1.55; color: var(--pd-muted); padding: 2px 0 2px 16px; margin: 24px 0 34px; border-left: 2px solid var(--pd-pink); }
.prose { font-size: 17px; line-height: 1.72; color: color-mix(in srgb, var(--pd-text) 90%, transparent); }
.prose h2 { margin-top: 2em; padding-top: 22px; border-top: 1px solid var(--pd-line); font-size: clamp(24px, 3vw, 30px); }
.prose h3 { margin-top: 1.6em; font-size: 19px; }
.prose a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--pd-pink-soft) 40%, transparent); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--pd-pink-soft); }
.prose strong { color: var(--pd-text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--pd-pink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--pd-pink); font: italic 400 1.3em/1.35 var(--pd-serif); color: var(--pd-text); }
.prose blockquote p:last-child { margin: 0; }
.prose hr { border: 0; border-top: 1px solid var(--pd-line); margin: 2.2em 0; }
.prose table { display: block; overflow-x: auto; max-width: 100%; min-width: 0; margin: 1.6em 0; font-size: 13.5px; line-height: 1.45; border-top: 1px solid var(--pd-line-2); }
.prose th, .prose td { min-width: 124px; padding-right: 14px; }
.prose img { height: auto; border-radius: var(--pd-r-panel); }
.prose pre { overflow-x: auto; padding: 14px 16px; border-radius: var(--pd-r-panel); background: var(--pd-surface); box-shadow: inset 0 0 0 1px var(--pd-line); }
.prose pre code { background: none; box-shadow: none; padding: 0; }
.sources ul { padding-left: 1.2em; color: var(--pd-muted); font-size: 14px; }
.sources, article .faq { margin-top: 48px; }
article .faq { border-top: 0; }
article .faq h2 { margin-bottom: 8px; }
article .faq details:first-of-type { border-top: 1px solid var(--pd-line-2); }
.inline-cta { position: relative; isolation: isolate; overflow: hidden; margin-top: 48px; display: grid; gap: 8px; justify-items: start; padding: 28px 24px; }
.inline-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, var(--pd-surface) 35%, color-mix(in srgb, var(--pd-surface) 40%, transparent)), var(--pd-art) 70% 30% / cover no-repeat; opacity: .9; }
.inline-cta h3 { margin: 0; font-size: 24px; letter-spacing: -.7px; }
.inline-cta p { margin: 0; color: var(--pd-muted); font-size: 15px; max-width: 30rem; }
.inline-cta .btn { margin-top: 8px; }

/* Apply: the pitch and her posters on the left, the form on the right. */
.apply-grid { display: grid; gap: 32px 64px; align-items: start; }
@media (min-width: 60rem) { .apply-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } .apply-intro { position: sticky; top: 100px; } }
.apply-posters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.apply-posters img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 22%; border-radius: var(--pd-r-panel); }
@media (max-width: 59.99rem) { .apply-posters { display: none; } }
.card { position: relative; min-width: 0; border-radius: var(--pd-r-card); background: var(--pd-surface); box-shadow: inset 0 0 0 1px var(--pd-line); }
.form { display: grid; gap: 16px; padding: 24px 20px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--pd-line), 0 30px 80px -30px #000e; }
@media (min-width: 30rem) { .form { padding: 30px 28px 28px; } }
.form label { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: var(--pd-muted); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 35rem) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
input, select, textarea {
  width: 100%; min-width: 0; height: 48px; padding: 0 14px 1px; border-radius: var(--pd-r-panel); border: 1px solid var(--pd-line);
  background: var(--pd-surface-2); color: var(--pd-text); font: 500 16px var(--pd-sans); color-scheme: dark; outline: none;
  transition: border-color var(--pd-fast) var(--pd-ease);
}
textarea { height: auto; min-height: 112px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
select {
  -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--pd-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a39a94' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}
select option { background: var(--pd-surface-2); color: var(--pd-text); }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--pd-text) 25%, transparent); }
input:focus, select:focus, textarea:focus { border-color: var(--pd-pink); }
.form .check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--pd-muted); }
.form .check input { width: 18px; height: 18px; flex-shrink: 0; margin: 1px 0 0; accent-color: var(--pd-pink); }
.form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--pd-pink-soft); }
.form-msg:empty { min-height: 0; margin-top: -16px; }
.done { padding: 26px 24px; box-shadow: inset 0 0 0 1.5px var(--pd-pink); }
.done p { font-size: 15px; color: var(--pd-muted); margin: 0; }

/* Footer: the lockup, the program line and links. */
.foot { border-top: 1px solid var(--pd-line); margin-top: 88px; padding: 30px 0 34px; font-size: 13.5px; color: var(--pd-muted); }
.foot-in { display: flex; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.foot .wordmark, .foot .brand-word { font-size: 20px; }
.foot .brand-rule { height: 17px; }
.foot-in p { max-width: 440px; margin: 12px 0 0; line-height: 1.55; }
.foot-in p a { color: var(--pd-pink-soft); font-weight: 600; }
.foot-links { display: flex; gap: 6px 22px; flex-wrap: wrap; align-items: flex-start; }
.foot-links a { color: var(--pd-text); font-weight: 600; }
.foot-links a[href^="mailto:"] { color: var(--pd-pink-soft); }
