/* Newsdesk special edition page (/newsdesk/) and the homepage teaser.
   Source: Figma file w5XATYzUzToCUQVAmSUI6m, frame 198:301 "NewsDesk Landing page v2".
   Uses the hk.css tokens; the two status colours are the Figma variables status/success*. */
:root { --success: #1e6b3c; --success-subtle: #e7f4ec; --nd-split: 506px; }

/* hero */
.nd-hero .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 612px); }
.nd-hero h1 { font-size: 64px; }
.nd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.nd-price b { font: 600 42px/1.12 var(--font-round); font-variation-settings: "ROND" 100; }
.nd-price span { font-size: 14px; line-height: 1.5; color: var(--text-secondary); }
.nd-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: var(--r-pill); background: var(--surface-subtle);
  font: 600 13px/1.5 var(--font-round); font-variation-settings: "ROND" 100; }
.nd-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--text-primary); }

/* hero gallery: placeholder until the slider ships */
.nd-gallery { display: flex; flex-direction: column; gap: 16px; }
.nd-gallery__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nd-ph { display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; background: var(--surface-subtle);
  border: 1px solid var(--border-subtle); border-radius: 16px; font-size: 13px; line-height: 1.4; color: var(--text-secondary); }
.nd-ph--main { aspect-ratio: 1200 / 824; }
.nd-ph--thumb { aspect-ratio: 1200 / 816; }
.nd-gallery__cap { font-size: 13px; line-height: 1.5; color: var(--text-secondary); }

/* heading left, content right */
.nd-split { display: grid; grid-template-columns: var(--nd-split) minmax(0, 1fr); gap: 84px; align-items: start; }
.nd-split__head { display: flex; flex-direction: column; gap: 16px; }
.nd-split__head p, .nd-lead { font-size: 16px; line-height: 1.5; color: var(--text-secondary); }
.nd-section { padding-top: 96px; padding-bottom: 96px; }
.nd-section--top0 { padding-top: 0; }

/* what's inside */
.nd-table { background: var(--surface-base); border-radius: var(--r-20); padding: 8px 24px; }
.nd-row { display: flex; align-items: center; gap: 24px; padding: 20px 0; }
.nd-row + .nd-row { border-top: 1px solid var(--border-subtle); }
.nd-row > div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.nd-row h3 { font-size: 18px; line-height: 1.12; }
.nd-row p { font-size: 15px; line-height: 1.5; color: var(--text-secondary); }
.chip { flex: none; padding: 6px 12px; border-radius: var(--r-pill); font: 600 13px/1.12 var(--font-round); font-variation-settings: "ROND" 100; white-space: nowrap; }
.chip--in { background: var(--success-subtle); color: var(--success); }
.chip--out { border: 1px solid var(--border-subtle); color: var(--text-secondary); }

/* pricing */
.nd-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.nd-plan { display: flex; flex-direction: column; gap: 24px; padding: 32px; border-radius: var(--r-24); border: 1px solid var(--border-subtle); background: var(--surface-base); }
.nd-plan--dark { background: var(--action-dark); border-color: var(--action-dark); color: var(--text-on-dark); }
.nd-plan__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.nd-plan__top h3 { font-size: 20px; line-height: 1.12; }
.nd-tag { padding: 6px 12px; border-radius: var(--r-pill); background: var(--action-primary); color: var(--text-primary); font: 600 13px/1.12 var(--font-round); font-variation-settings: "ROND" 100; white-space: nowrap; }
.nd-plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.nd-plan__price b { font: 600 56px/1.12 var(--font-round); font-variation-settings: "ROND" 100; }
.nd-plan__price span, .nd-plan__desc { font-size: 15px; line-height: 1.5; color: var(--text-secondary); }
.nd-plan--dark .nd-plan__price span, .nd-plan--dark .nd-plan__desc, .nd-plan--dark .nd-plan__foot { color: var(--text-on-dark); opacity: .8; }
.nd-plan .ticks-list { padding-top: 24px; border-top: 1px solid var(--border-subtle); font-size: 15px; flex: 1 1 auto; }
.nd-plan--dark .ticks-list { border-top-color: #4a4249; }
.nd-plan__foot { font-size: 13px; line-height: 1.5; color: var(--text-secondary); text-align: center; }

/* when it's acquired */
.nd-box { display: flex; flex-direction: column; gap: 0; padding: 12px 32px; border-radius: var(--r-20); border: 1px solid var(--border-subtle); background: var(--surface-base); }
.nd-facts { }
.nd-fact { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; padding: 20px 0; }
.nd-fact + .nd-fact { border-top: 1px solid var(--border-subtle); }

.nd-fact h3 { font-size: 18px; line-height: 1.2; }
.nd-fact p { font-size: 15px; line-height: 1.5; color: var(--text-secondary); }

/* how acquiring works */
.nd-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.nd-step { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--text-primary); }
.nd-step small { font: 600 13px/1.5 var(--font-round); font-variation-settings: "ROND" 100; color: var(--text-secondary); }
.nd-step h3 { font-size: 20px; line-height: 1.12; }
.nd-step p { font-size: 15px; line-height: 1.5; color: var(--text-secondary); }

/* seller + questions */
.nd-seller { display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: var(--r-20); border: 1px solid var(--border-subtle); background: var(--surface-base); }
.nd-seller__label { font: 600 13px/1.5 var(--font-round); font-variation-settings: "ROND" 100; color: var(--text-secondary); }
.nd-who { display: flex; align-items: center; gap: 16px; }
.nd-avatar { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--surface-accent); display: grid; place-items: center; font: 600 18px/1 var(--font-round); font-variation-settings: "ROND" 100; overflow: hidden; }
.nd-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nd-who h3 { font-size: 20px; line-height: 1.12; }
.nd-who p { font-size: 14px; line-height: 1.5; color: var(--text-secondary); }
.nd-seller > p { font-size: 15px; line-height: 1.5; color: var(--text-secondary); }
.nd-seller__ask { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.nd-seller__ask a.text-link { font-size: 14px; }
.nd-faq h2 { margin-bottom: 24px; }
.nd-faq details { border-bottom: 1px solid var(--border-subtle); }
.nd-faq details:first-of-type { border-top: 1px solid var(--border-subtle); }
.nd-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; cursor: pointer; list-style: none;
  font: 600 18px/1.2 var(--font-round); font-variation-settings: "ROND" 100; }
.nd-faq summary::-webkit-details-marker { display: none; }
.nd-faq summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; color: var(--text-secondary); }
.nd-faq details[open] summary::after { content: "–"; }
.nd-faq details p { padding: 0 0 24px; font-size: 15px; line-height: 1.5; color: var(--text-secondary); max-width: 640px; }
.nd-faq details a { color: var(--text-primary); text-underline-offset: 3px; }

/* final offer */
.nd-final { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; padding-top: 120px; padding-bottom: 120px; border-top: 1px solid var(--border-subtle); }
.nd-final h2 { font-size: 56px; line-height: 1.12; max-width: 900px; text-wrap: balance; }
.nd-final p, .nd-hero h1, .nd-split__head h2 { text-wrap: balance; }
a.nd-ph { text-decoration: none; transition: border-color .15s; }
a.nd-ph:hover { border-color: var(--text-primary); }
.nd-final p { font-size: 18px; line-height: 1.55; color: var(--text-secondary); max-width: 640px; }
.nd-final .hero__actions { justify-content: center; }

/* homepage teaser */
.nd-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; align-items: center; padding: 40px; border-radius: var(--r-28); background: var(--action-dark); color: var(--text-on-dark); }
.nd-teaser__msg { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.nd-teaser .nd-status { background: #3a333a; color: var(--text-on-dark); }
.nd-teaser .nd-status::before { background: var(--action-primary); }
.nd-teaser h2 { font-size: 42px; line-height: 1.12; }
.nd-teaser p { font-size: 16px; line-height: 1.5; opacity: .85; max-width: 480px; }
.nd-teaser .nd-ph { background: #2c262c; border-color: #4a4249; color: #bdb4bb; aspect-ratio: 1200 / 824; }

/* responsive */
@media (max-width: 1199px) {
  :root { --nd-split: 400px; }
  .nd-hero h1 { font-size: 52px; }
  .nd-final h2 { font-size: 46px; }
}
@media (max-width: 1023px) {
  .nd-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .nd-teaser { grid-template-columns: 1fr; }
}
@media (max-width: 959px) {
  .nd-hero .hero__grid { grid-template-columns: 1fr; }
  .nd-split { grid-template-columns: 1fr; gap: 32px; }
  .nd-plans { grid-template-columns: 1fr; }
  .nd-section { padding-top: 72px; padding-bottom: 72px; }
  .nd-section--top0 { padding-top: 0; }
}
@media (max-width: 639px) {
  .nd-hero h1 { font-size: 40px; }
  .nd-price b { font-size: 34px; }
  .nd-gallery__thumbs { gap: 12px; }
  .nd-gallery__thumbs .nd-ph { font-size: 11px; padding: 6px; }
  .nd-section { padding-top: 56px; padding-bottom: 56px; }
  .nd-section--top0 { padding-top: 0; }
  .nd-table { padding: 4px 16px; }
  .nd-row { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 0; }
  .nd-plans, .nd-steps { margin-top: 32px; }
  .nd-plan, .nd-seller { padding: 24px; }
  .nd-box { padding: 4px 24px; }
  .nd-plan__price b { font-size: 44px; }
      .nd-fact { grid-template-columns: 1fr; gap: 6px; }
  .nd-steps { grid-template-columns: 1fr; }
  .nd-faq summary { font-size: 17px; padding: 20px 0; }
  .nd-final { padding-top: 72px; padding-bottom: 72px; }
  .nd-final h2 { font-size: 34px; }
  .nd-final p { font-size: 16px; }
  .nd-final .hero__actions, .nd-final .hero__actions .btn { width: 100%; }
  .nd-teaser { padding: 24px; gap: 28px; border-radius: var(--r-24); }
  .nd-teaser h2 { font-size: 30px; }
  .nd-teaser .btn { width: 100%; }
}
