/* Charcoal studio backdrop, quiet city imagery and restrained rose-gold details. */
.pv-hero {
  min-height: 100vh;
  min-height: 100dvh;
}
.pv-hero-grid { padding-block: clamp(3rem, 6vh, 4rem) clamp(6rem, 12vh, 8rem); }
/* Give the skyline room below the copy when the device is short. */
@media (max-height: 600px) {
  .pv-hero-grid { padding-bottom: 14rem; }
}

.pv-hero h1,
.pv-bridge h2,
.pv-section-intro h2,
.pv-copy h2,
.pv-copy h3,
.pv-centered h2,
.pv-closing h2 {
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.045em;
  text-wrap: balance;
}

/* Two equal lines; the response uses the same soft accent as every other headline. */
.pv-hero h1 {
  font-size: clamp(3rem, 5.4vw, 4.75rem);
  line-height: 1.08;
}
.pv-hero h1 > span {
  max-width: none;
  font-size: 1em;
  font-weight: 400;
  line-height: inherit;
  letter-spacing: -.045em;
  margin: 0 auto;
}
.pv-hero h1 > em {
  font-family: var(--sans);
  font-size: 1em;
  font-weight: 400;
  line-height: inherit;
  letter-spacing: -.045em;
  color: var(--editorial-accent);
}
.pv-hero-copy > .pv-eyebrow {
  font-size: .6875rem;
  letter-spacing: .13em;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.pv-hero-copy > .pv-hero-lede {
  max-width: 36ch;
  margin: 1.5rem auto 2.25rem;
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
}
.pv-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.pv-page .pv-hero .pv-hero-actions :is(.button-primary, .button-text) { min-height: 52px; padding: 15px 24px; font-size: .9375rem; }
/* The waitlist is the one ivory action; secondary actions keep the matte surface. */
.pv-page :is(.pv-hero, .pv-invite, .pv-closing, dialog) .button-primary {
  background: var(--ink);
  color: #141414;
  border: 1px solid var(--ink);
  font-weight: 500;
}
@media (hover: hover) {
  .pv-page :is(.pv-hero, .pv-invite, .pv-closing, dialog) .button-primary:hover { background: #fffaf0; border-color: #fffaf0; color: #141414; }
}
.pv-page :is(.pv-hero, .pv-invite, .pv-closing, dialog) .button-primary:active { background: #d9d4ca; }
.pv-page .pv-hero .button-text {
  color: var(--ink);
  background: #211f1c;
  border: 1px solid var(--line);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-weight: 400;
}
@media (hover: hover) {
  .pv-page .pv-hero .button-text:hover { background: #2b2824; border-color: var(--line-strong); }
}
.pv-hero :is(.button-primary, .button-text):focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.pv-bridge h2 { font-size: clamp(2.5rem, 3.9vw, 3.5rem); }
.pv-section-intro h2,
.pv-centered h2 { font-size: clamp(2.5rem, 4.2vw, 3.75rem); }
.pv-copy h2,
.pv-copy h3 { font-size: clamp(2.5rem, 3.8vw, 3.375rem); }
.pv-closing h2 { font-size: clamp(3rem, 5.3vw, 4.5rem); }
.pv-copy .pv-eyebrow { margin-bottom: 1.25rem; }
.pv-copy > p:not(.pv-eyebrow) { max-width: 30ch; }

/* A restrained horizontal falloff stays identical at every point down the page. */
.pv-page {
  --rose-gold: #cfa28e;
  --brown-highlight: var(--rose-gold);
  --brown-detail: #885745;
  --story-line: #d6c6b522;
  --studio-center: #151617;
  --studio-edge: #0d0e0f;
  background-color: var(--studio-edge);
  background-image: linear-gradient(
    90deg,
    var(--studio-edge) 0%,
    #101112 18%,
    #131415 36%,
    var(--studio-center) 50%,
    #131415 64%,
    #101112 82%,
    var(--studio-edge) 100%
  );
  isolation: isolate;
}
.pv-page main { background: transparent; }
/* Preserve the low skyline and keep the broad sky clear behind the hero copy. */
.pv-hero .landscape {
  background-image:
    linear-gradient(#00000024, #00000024),
    url("assets/hero-city-dusk-v1.webp");
  background-size: cover;
  background-position: center bottom;
  -webkit-mask-image: linear-gradient(180deg, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 90%, transparent 100%);
}
.pv-hero .landscape::after { content: none; }

/* Generous chapter spacing separates the story without divider lines. */
.pv-bridge { padding-block: clamp(5rem, 8vw, 8rem); }
.pv-section-intro {
  padding-block: clamp(2.5rem, 4vw, 4rem) 1.5rem;
  border-top: 0;
}
.pv-chapter { padding-block: clamp(4.5rem, 7vw, 7rem); }
.pv-investigation .pv-chapter + .pv-chapter,
.pv-effort > .pv-shell,
.pv-memory > .pv-shell,
.pv-trust > .pv-shell { border-top: 0; }
.pv-effort { margin-top: 0; padding-block: 0 clamp(4rem, 6vw, 6rem); }
.pv-memory { padding-block: 0; }
.pv-trust { padding-block: 0 clamp(5rem, 8vw, 8rem); }
.pv-trust > .pv-shell { padding-top: clamp(5rem, 8vw, 8rem); }
.pv-faq, .pv-page .site-footer { border-top: 0; }
.pv-faq-list details, .pv-three-steps li { border-color: var(--story-line); }
.pv-investigation .pv-copy > .pv-eyebrow,
.pv-three-steps li > span { color: var(--rose-gold); }

.pv-bridge, .pv-section-intro, .pv-chapter, .pv-trust, .pv-faq, .pv-closing {
  position: relative;
  isolation: isolate;
}
@media (forced-colors: active) {
  .pv-page { background-image: none; }
}

/* A final glimpse of the city before the closing invitation. */
.pv-closing {
  padding-block: 0 clamp(5.5rem, 9vw, 9rem);
  background: transparent;
}
.pv-closing::before {
  content: "";
  display: block;
  height: clamp(200px, 28vw, 380px);
  margin-bottom: clamp(2.25rem, 4vw, 4rem);
  background-image:
    linear-gradient(#0a09082e, #0a09082e),
    url("assets/hero-city-dusk-v1.webp");
  background-size: cover;
  background-position: center bottom;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 76%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 76%, transparent);
  pointer-events: none;
}

/* Remove the surrounding presentation boxes; keep each actual product surface. */
.pv-stage,
.pv-plan-stage,
.pv-result-stage,
.pv-message-scene {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.pv-stage {
  width: 100%;
  max-width: 540px;
  justify-self: center;
}
.pv-window,
.pv-result-card,
.pv-message-thread {
  background: #141414;
  border-color: #eeeae129;
  border-radius: 20px;
  box-shadow: 0 20px 56px #00000026;
}
.pv-plan-card,
.pv-record {
  border-radius: 20px;
  box-shadow: 0 20px 56px #0000001f;
}
.pv-stage > figcaption {
  max-width: 42ch;
  margin: 1.25rem auto 0;
  color: var(--faint);
}
.pv-clue-conversation > span {
  background: #ffffff08;
  border-color: #eeeae119;
}
.pv-incoming { background: #ffffff08; }

/* Colour marks a useful clue or finding; supporting icons stay neutral. */
.pv-icon { color: var(--accent); background: transparent; border-color: #eeeae129; }
.pv-factor:first-child .pv-icon { color: var(--brown-highlight); }
.pv-principles .pv-icon { border-color: transparent; }
.pv-record-icon { color: var(--card-muted); }
.pv-finding[open] .pv-record-icon { color: var(--brown-detail); }
.pv-result-card { border-color: #cfa28e38; }
.pv-result-earlier .pv-bar-space > span { background: linear-gradient(180deg, #d6b29e, #b97f6b); }

/* One experiment: lead with the finding, then show its basis and next check. */
.pv-result-card { padding: clamp(1.25rem, 3vw, 2rem); }
.pv-result-card .pv-result-top { gap: .5rem 1rem; }
.pv-result-card .pv-result-top .pv-eyebrow {
  font-size: .6875rem;
  letter-spacing: .1em;
}
.pv-result-sample { color: var(--faint); font-size: .75rem; }
.pv-result-card .pv-result-takeaway {
  margin: 1.5rem 0 .5rem;
  font: 400 clamp(1.875rem, 3vw, 2.375rem)/1.13 var(--sans);
  letter-spacing: -.04em;
}
.pv-result-takeaway > span { display: block; color: var(--rose-gold); }
.pv-result-context {
  margin: 0;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.55;
  max-width: 34ch;
}
.pv-result-comparison { margin: 1.5rem 0 0; }
.pv-result-comparison dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding-block: .875rem;
  border-block: 1px solid var(--line);
}
.pv-result-comparison dl > div + div {
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
}
.pv-result-comparison dt { color: var(--muted); font-size: .8125rem; }
.pv-result-comparison dd {
  margin: .25rem 0 0;
  font-size: 1.625rem;
  line-height: 1.25;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pv-result-comparison dd small { margin-left: .125rem; font-size: .75rem; }
.pv-result-comparison figcaption {
  margin-top: .625rem;
  color: var(--faint);
  font-size: .75rem;
  line-height: 1.6;
}
.pv-result-next { margin-top: 1.5rem; }
.pv-result-next .pv-eyebrow {
  margin: 0 0 .5rem;
  color: var(--rose-gold);
  font-size: .625rem;
  letter-spacing: .12em;
}
.pv-result-next > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: .9375rem;
  line-height: 1.6;
}
.pv-result-card .pv-evidence {
  margin-top: 1.125rem;
  border-top: 1px solid var(--line);
  padding-top: .25rem;
}
.pv-result-card .pv-evidence summary { font-size: .8125rem; }
.pv-page .pv-result-card .pv-evidence p { font-size: .875rem; }

@media (max-width: 860px) {
  .pv-chapter { gap: 2.5rem; padding-block: 4.5rem; }
  .pv-stage,
  .pv-message-scene { max-width: 540px; }
}

@media (max-width: 600px) {
  .pv-hero h1 {
    font-size: clamp(2.375rem, 10vw, 3.25rem);
    line-height: 1.1;
  }
  .pv-hero h1 > span { max-width: 14ch; }
  .pv-hero-copy > .pv-hero-lede { margin-block: 1.25rem 1.75rem; }
  .pv-hero-copy > .pv-eyebrow { margin-bottom: 1.25rem; }
  .pv-bridge h2,
  .pv-section-intro h2,
  .pv-copy h2,
  .pv-copy h3,
  .pv-centered h2 {
    font-size: clamp(2rem, 8.4vw, 2.625rem);
    line-height: 1.16;
  }
  .pv-closing h2 { font-size: clamp(2.5rem, 10vw, 3.25rem); }
  .pv-window,
  .pv-result-card,
  .pv-message-thread,
  .pv-plan-card,
  .pv-record { border-radius: 18px; }
}

@media (max-width: 370px) {
  .pv-hero h1 { font-size: clamp(2rem, 10.5vw, 2.375rem); }
}

/* Approved phone artwork sits directly on the page, without an outer panel.
   Trim only the transparent canvas margins in CSS; preserve every device edge. */
.pv-stage.pv-phone-visual {
  width: min(100%, 360px);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.pv-phone-crop {
  position: relative;
  display: block;
  width: min(84%, 300px);
  margin-inline: auto;
  aspect-ratio: 736 / 1496;
  overflow: hidden;
  cursor: zoom-in;
}
.pv-phone-crop > img {
  position: absolute;
  display: block;
  width: 139.130435%;
  max-width: none;
  height: auto;
  left: -19.565217%;
  top: -1.336898%;
}
.pv-stage.pv-phone-visual > figcaption {
  margin-top: 1rem;
  font-size: 12px;
  line-height: 1.7;
}
.pv-screen-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: fit-content;
  min-height: 44px;
  margin: .25rem auto 0;
  color: var(--ink-soft);
  text-underline-offset: 4px;
}
.pv-screen-link:hover { text-decoration: underline; }
.pv-phone-crop:focus-visible,
.pv-screen-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
.pv-inline-checkin {
  max-width: 360px;
  margin-top: 2rem;
  border-top: 1px solid var(--story-line);
}
.pv-inline-checkin > summary {
  padding-block: 1rem;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
  cursor: pointer;
}
.pv-inline-checkin > p#checkin-question {
  margin-top: .5rem;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
}
.pv-inline-checkin .pv-checkin-feedback {
  min-height: 3.4em;
  font-size: 14px;
  line-height: 1.7;
}

/* The personal record opens out to a full-width product view. */
.pv-profile-showcase {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}
.pv-profile-intro {
  width: 100%;
  text-align: center;
}
.pv-profile-intro > p:not(.pv-eyebrow) {
  max-width: 46ch;
  margin-inline: auto;
}
.pv-stage.pv-profile-visual {
  width: 100%;
  max-width: 1152px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.pv-profile-artwork {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin-inline: auto;
  cursor: zoom-in;
}
.pv-profile-artwork:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
.pv-profile-artwork > img {
  display: block;
  width: 100%;
  height: auto;
}
.pv-stage.pv-profile-visual > figcaption {
  max-width: 46ch;
  margin-top: 1rem;
}
.pv-profile-takeaway { display: none; }
/* On desktop, keep the device composite comfortably within one screen. */
@media (min-width: 861px) {
  .pv-stage.pv-profile-visual {
    max-width: min(880px, max(640px, calc((100svh - 180px) * 1.5)));
    margin-inline: auto;
  }
}

@media (max-width: 860px) {
  .pv-profile-intro h2 > em { display: block; }
  .pv-profile-caption { display: none; }
  .pv-profile-takeaway { display: block; }
  .pv-profile-takeaway > strong,
  .pv-profile-takeaway > span,
  .pv-profile-takeaway > small { display: block; }
  .pv-profile-takeaway > strong {
    color: var(--ink);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
  }
  .pv-profile-takeaway > span {
    margin-top: .625rem;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.6;
  }
  .pv-profile-takeaway > small {
    margin-block: .75rem .5rem;
    color: var(--faint);
    font-size: .75rem;
    line-height: 1.7;
  }
}

/* Waitlist dialog: one email field and a clear confirmation. */
.pv-page dialog { padding: clamp(2rem, 5vw, 3rem); }
.pv-page .waitlist-form { margin-top: 1.5rem; }
.pv-page .waitlist-form label { display: block; margin-bottom: .5rem; color: var(--muted); font-size: .8125rem; }
.waitlist-field { display: flex; gap: .5rem; }
.pv-page .waitlist-field input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  box-sizing: border-box;
  padding: 0 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #111213;
  color: var(--ink);
  font: 400 1rem/1 var(--sans);
}
.waitlist-field input::placeholder { color: #8f8b84; }
.waitlist-field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-color: transparent; }
.waitlist-field input[aria-invalid="true"] { border-color: #e2a497; }
.pv-page .waitlist-field .button-primary { min-height: 52px; padding: 0 1.5rem; font-size: .9375rem; letter-spacing: 0; text-transform: none; }
.pv-page .waitlist-error { min-height: 1.4em; margin: .5rem 0 0; color: #e2a497; font-size: .8125rem; line-height: 1.4; }
.pv-page .waitlist-success h3 { margin: 1rem 0 .5rem; font: 500 1.375rem/1.3 var(--sans); letter-spacing: -.02em; outline: none; }
.pv-page .waitlist-success p { font-size: .9375rem; color: var(--ink-soft); }
.pv-page .waitlist-success strong { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.pv-page .waitlist-consent { margin: .5rem 0 0; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.waitlist-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.waitlist-field button:disabled { cursor: wait; opacity: .7; }
.pv-page .waitlist-success .dialog-return { margin-top: 1.5rem; min-height: 48px; padding: 12px 22px; font-size: .875rem; letter-spacing: 0; text-transform: none; }
@media (max-width: 480px) {
  .waitlist-field { flex-direction: column; }
}

/* Phones show the phone screenshot of Your discoveries at a readable size. */
.pv-profile-artwork picture { display: block; }
.pv-profile-artwork picture img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) {
  .pv-profile-artwork { aspect-ratio: auto; width: min(100%, 340px); }
}

.pv-page .waitlist-consent a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.pv-page .waitlist-consent a:hover { color: var(--ink); }
