/* ==== /partners/: the partner program for scanning services (2026-11-19) ====
   The page sits on the reading layer (css/easy-read.css, body.hp65), which
   loads after this file. It reuses the layer's hero, promise strip, before
   and after picture, picture steps and doors as they are; the blocks below
   are the page's own and all start with pt-. Colours are the site's tokens
   only, so the dark theme needs no rules of its own. */

/* ---------- The hero picture: the client's page in a browser window ---------- */

.pt-window {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--hp-print-shadow);
}

.pt-window__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  background: var(--bg-accent);
  border-bottom: 1px solid var(--border);
}

.pt-window__bar i {
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--border);
}

.pt-window img {
  display: block;
  width: 100%;
  height: auto;
}

.pt-hero-shot { margin: 0; }

.pt-hero-shot__cap {
  margin: 0.8rem 0 0;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  color: var(--text-secondary);
}

/* ---------- The plain summary under the hero ---------- */

.pt-summary {
  padding: 2.6rem 0 0.4rem;
}

.pt-summary p {
  max-width: 44rem;
  margin: 0 auto;
  font-family: var(--font-ui);
  font-size: 1.15rem;
  line-height: 1.6;
  text-align: center;
  color: var(--text-primary);
}

/* ---------- What Timeline Scan does ---------- */

.pt-does {
  display: grid;
  justify-items: center;
  gap: 1.6rem;
  max-width: 40rem;
  margin: 2.2rem auto 0;
}

.pt-does .hp-sort {
  width: 100%;
  max-width: 34rem;
  padding: 1.6rem 3.2rem 0.6rem 1.6rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.pt-link {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

.pt-link a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ---------- The writing on the back (2026-11-20) ----------
   An add-on a partner can sell: the client's own viewer on one side, the
   heading, three ticks and a door on the other. The picture opens in the
   enlarged view like the gallery's. */

.pt-backs {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 2.8rem;
}

.pt-backs__pic {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--hp-print-shadow);
  cursor: zoom-in;
}
.pt-backs__pic img { display: block; width: 100%; height: auto; }
.pt-backs__pic:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.hp65 .pt-backs__words .hp-h2,
.pt-backs__words .hp-lead { text-align: left; margin-left: 0; }

.pt-backs__ticks { margin-top: 1.3rem; }

.hp65 .pt-backs__door { margin: 1.2rem 0 0; text-align: left; }
.hp65 .pt-backs__door summary { padding-left: 0; }

/* ---------- How it works: a real screenshot per step ---------- */

.pt-step-shot {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

/* ---------- Two ways to deliver ---------- */

.pt-ways {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  margin: 2.2rem 0 0;
  padding: 0;
}

.pt-way {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.pt-way__pic {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid var(--border);
}

.pt-way__body { padding: 1.5rem 1.6rem 1.7rem; }

.hp65 .pt-way h3 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.9rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

.pt-way__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--hp-green-ink);
}
.pt-way__icon svg { width: 1.5rem; height: 1.5rem; }

/* Short lines, each with a green tick drawn by CSS. */
.pt-ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.pt-ticks li {
  position: relative;
  padding-left: 1.9rem;
  font-family: var(--font-ui);
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--text-primary);
}

.pt-ticks li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.28em;
  width: 0.5rem;
  height: 0.85rem;
  border: solid var(--hp-green-ink);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* The picture is a link to itself, which the enlarged view opens. */
.pt-way__zoom {
  display: block;
  cursor: zoom-in;
  border-bottom: 1px solid var(--border);
}
.pt-way__zoom .pt-way__pic { border-bottom: 0; }
.pt-way__zoom:hover .pt-way__pic { opacity: 0.94; }
.pt-way__zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }

/* ---------- What your client sees: the gallery ---------- */

.pt-gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem 1.4rem;
  margin: 2.2rem 0 0;
  padding: 0;
}

.pt-shot { margin: 0; }

.pt-shot__frame {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

a.pt-shot__frame { cursor: zoom-in; }
a.pt-shot__frame:hover { box-shadow: var(--hp-print-shadow); transform: translateY(-2px); }
a.pt-shot__frame:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.pt-shot__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.pt-shot figcaption {
  margin: 0.7rem 0.2rem 0;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--text-primary);
}


.pt-note {
  max-width: 40rem;
  margin: 2rem auto 0;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  line-height: 1.5;
  text-align: center;
  color: var(--text-secondary);
}

/* ---------- The enlarged view (the /scanning example dialog's pattern) ---------- */

.pt-zoom {
  /* The site's margin reset also wipes the margin:auto that centres a
     modal <dialog>, so it comes back here. */
  margin: auto;
  border: none;
  border-radius: var(--radius-md);
  padding: 0;
  width: min(1200px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: var(--card-bg);
  color: var(--text-primary);
  box-shadow: 0 24px 64px rgba(61, 43, 31, 0.35);
}

.pt-zoom::backdrop { background: rgba(61, 43, 31, 0.6); }

.pt-zoom__frame {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1rem 1.25rem 1.2rem;
}

.pt-zoom__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pt-zoom__count {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pt-zoom__close,
.pt-zoom__step {
  flex-shrink: 0;
  min-height: 48px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}
.pt-zoom__close { padding: 0.5rem 1.1rem; border-radius: 999px; }
.pt-zoom__step {
  display: grid;
  place-items: center;
  width: 48px;
  padding: 0;
  border-radius: 50%;
}
.pt-zoom__step svg { width: 22px; height: 22px; }
.pt-zoom__close:hover,
.pt-zoom__step:hover { background: var(--accent-light); }
.pt-zoom__close:focus-visible,
.pt-zoom__step:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.pt-zoom.is-single .pt-zoom__step { visibility: hidden; }

.pt-zoom__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 13rem);
  object-fit: contain;
  border-radius: 8px;
  background: var(--bg-secondary);
}

.pt-zoom__foot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.pt-zoom__caption {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: var(--text-primary);
}

/* ---------- Pricing: three tiles ---------- */

.pt-cta {
  margin: 2.6rem 0 0;
  text-align: center;
}

.pt-price .hp-safe__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 62rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Questions (the homepage's closed tiles, drawn here) ---------- */

.pt-qs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0.75rem 1rem;
  max-width: 1080px;
  margin: 2rem auto 0;
}

.pt-qs__col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.pt-qs .pt-q,
.pt-qs .pt-q:first-child {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.pt-qs .pt-q:hover { border-color: var(--border); }
.pt-qs .pt-q[open] {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow), var(--shadow-sm);
}

.pt-qs .faq__question {
  justify-content: flex-start;
  gap: 0.8rem;
  min-height: 64px;
  padding: 0.7rem 0.9rem 0.7rem 0.75rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.pt-q__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-hover);
}
.pt-q__icon svg { width: 21px; height: 21px; }
.pt-q__text { flex: 1 1 auto; min-width: 0; }
.pt-qs .faq__icon { width: 26px; height: 26px; }
.pt-qs .faq__answer { padding: 0 1rem 0 calc(0.75rem + 40px + 0.8rem); }
details.pt-q[open] .faq__answer { padding-bottom: 1rem; }

.pt-qs .faq__answer p,
.pt-qs .faq__answer li {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-primary);
}
.pt-qs .faq__answer p { margin: 0 0 0.6rem; }
.pt-qs .faq__answer p:last-child { margin-bottom: 0; }
.pt-qs .faq__answer ul { margin: 0 0 0.6rem; padding-left: 1.15rem; list-style: disc; }
.pt-qs .faq__answer ul:last-child { margin-bottom: 0; }
.pt-qs .faq__answer li { margin-bottom: 0.3rem; }
.pt-qs .faq__answer a { color: var(--accent-hover); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Contact ---------- */

.pt-contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 2.4rem;
  align-items: start;
  max-width: 1080px;
  margin: 2.2rem auto 0;
}

.pt-me {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.pt-me__photo {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--contrast-white);
  box-shadow: var(--shadow-md);
}

.pt-me__words {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text-primary);
}

.pt-me__name {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  color: var(--text-secondary);
}
.pt-me__name b { color: var(--text-primary); }

.pt-me__mail {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  color: var(--text-secondary);
}
.pt-me__mail a { color: var(--accent-hover); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; word-break: break-word; }

.pt-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.6rem 1.7rem 1.7rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hp65 .pt-form h3 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.2;
}

.pt-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.pt-form__field--full { grid-column: 1 / -1; }

.pt-form__label {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.pt-form__input,
.pt-form__textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 1.05rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pt-form__textarea { min-height: 7rem; line-height: 1.5; resize: vertical; }

.pt-form__input:focus,
.pt-form__textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.pt-form__input:disabled,
.pt-form__textarea:disabled { opacity: 0.6; cursor: not-allowed; }

.pt-form__send {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
}

.pt-form__send .btn { width: 100%; }
.pt-form__send .btn:disabled { opacity: 0.85; cursor: default; pointer-events: none; }

.pt-form__status {
  margin: 0;
  min-height: 1.5em;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  text-align: center;
  color: var(--text-primary);
}

.pt-form__or {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  text-align: center;
  color: var(--text-secondary);
}
.pt-form__or a { color: var(--accent-hover); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Tablet and phone ---------- */

@media (max-width: 1080px) {
  .pt-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  /* The hero reads words, picture, button (the layer's order for its own
     picture is 4). */
  .pt-hero-shot { order: 4; width: 100%; max-width: 36rem; margin: 0 auto 1.4rem; }
  .pt-ways { grid-template-columns: minmax(0, 1fr); max-width: 34rem; margin-left: auto; margin-right: auto; }
  /* The words first, then the picture, one column. */
  .pt-backs { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; max-width: 36rem; margin: 0 auto; }
  .pt-backs__words { order: -1; }
  .hp65 .pt-backs__words .hp-h2,
  .pt-backs__words .hp-lead { text-align: center; margin-left: auto; margin-right: auto; }
  .hp65 .pt-backs__door { text-align: center; }
  .pt-price .hp-safe__grid { grid-template-columns: minmax(0, 1fr); max-width: 30rem; }
  .pt-qs { grid-template-columns: minmax(0, 1fr); max-width: 40rem; }
  .pt-contact { grid-template-columns: minmax(0, 1fr); max-width: 36rem; }
  .pt-me { justify-items: center; text-align: center; }
}

@media (max-width: 640px) {
  .pt-summary { padding-top: 2rem; }
  .pt-summary p { font-size: 1.05rem; text-align: left; }
  .pt-does .hp-sort { padding: 1.1rem 2.2rem 0.4rem 1rem; }
  .pt-gallery { grid-template-columns: minmax(0, 1fr); max-width: 30rem; margin-left: auto; margin-right: auto; }
  .pt-way__body { padding: 1.2rem 1.2rem 1.4rem; }
  .pt-zoom { width: calc(100vw - 1.5rem); }
  .pt-zoom__frame { padding: 0.8rem 0.8rem 1rem; gap: 0.7rem; }
  .pt-zoom__foot { gap: 0.6rem; }
  .pt-zoom__caption { font-size: 1.05rem; }
  .pt-form { grid-template-columns: minmax(0, 1fr); padding: 1.3rem 1.2rem 1.4rem; }
  .pt-qs .faq__question { gap: 0.7rem; min-height: 60px; padding: 0.6rem 0.75rem 0.6rem 0.6rem; font-size: 1rem; }
  .pt-q__icon { width: 36px; height: 36px; }
  .pt-q__icon svg { width: 19px; height: 19px; }
  .pt-qs .faq__answer { padding: 0 0.85rem; }
}
