/* UZYTAK Terrace page: additions on top of photopack.css (pp- classes). Prefix tr-.
   Colours only through the pp- variables (catalog.css switches them for the dark theme). */
.tr-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.tr-hero-grid > *, .tr-split > *, .tr-panel > *, .tr-two > * { min-width: 0; }
.tr-app { display: flex; align-items: center; gap: 12px; }
.tr-app img { width: 48px; height: 48px; border-radius: 12px; flex: none; }
.tr-app .pp-eyebrow { margin: 0; }
.tr-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.tr-cta .pp-buy { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; }
.tr-cta .tr-play { background: var(--pp-blue); }
.tr-cta .tr-secondary { background: var(--pp-card); color: var(--pp-ink); border: 1px solid var(--pp-line); }
.tr-play svg, .tr-cta svg { width: 18px; height: 18px; flex: none; }
.tr-note { margin: 12px 0 0; font-size: 14px; color: var(--pp-muted); }
.tr-phone { margin: 0; justify-self: center; width: 100%; max-width: 320px; }
.tr-phone img, .tr-shot img { display: block; width: 100%; height: auto; border-radius: 26px; border: 6px solid #0b1533; background: #0b1533; box-shadow: 0 30px 60px -30px rgba(11, 21, 51, .55); }
.tr-phone figcaption { margin-top: 12px; font-size: 14px; color: #c5d0e6; text-align: center; }

/* Dark band: text + one screenshot. */
.tr-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.tr-split p { color: #c5d0e6; font-size: 18px; line-height: 1.55; margin: 0; }
.tr-ticks { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.tr-ticks li { position: relative; padding-left: 30px; color: #e6ecf8; font-size: 17px; line-height: 1.5; }
.tr-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--pp-teal); font-weight: 800; }
.tr-ticks-light li { color: var(--pp-ink); }

/* Screenshot strip: 3 columns; scrolls inside itself on small screens, never the page. */
.tr-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; margin-top: 28px; }
.tr-shot { margin: 0; }
.tr-shot figcaption { margin-top: 14px; }
.tr-shot strong { display: block; font-size: 17px; color: var(--pp-ink); }
.tr-shot span { display: block; color: var(--pp-muted); line-height: 1.5; font-size: 15px; margin-top: 4px; }

.tr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; margin-top: 28px; }
.tr-cards .pp-card { border-top: 4px solid #f0a64b; }
.tr-cards-teal .pp-card { border-top-color: var(--pp-teal); }

/* Pedestal catalogue panel. */
.tr-panel { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; align-items: center; border: 1px solid var(--pp-line); border-radius: 22px; padding: 32px; background: linear-gradient(135deg, rgba(79, 134, 247, .08), rgba(24, 184, 181, .08)); }
.tr-panel h2 { margin-top: 0; }
.tr-panel p { color: var(--pp-muted); font-size: 18px; line-height: 1.55; margin: 0; }
.tr-chips { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tr-chips li { background: var(--pp-card); border: 1px solid var(--pp-line); border-left: 4px solid var(--pp-blue); border-radius: 12px; padding: 12px 14px; font-weight: 600; color: var(--pp-ink); }

/* Shopping list + units. */
.tr-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tr-box h2 { font-size: clamp(24px, 2.6vw, 32px); }
.tr-box p { font-size: 17px; }
.tr-units { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px !important; }
.tr-units span { border: 1px dashed var(--pp-line); border-radius: 10px; padding: 8px 12px; font-weight: 700; color: var(--pp-ink); font-size: 15px; }

/* Honest limits. */
.tr-limits { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 12px 28px; }
.tr-limits li { position: relative; padding-left: 28px; line-height: 1.55; color: var(--pp-ink); }
.tr-limits li::before { content: "—"; position: absolute; left: 0; color: var(--pp-muted); font-weight: 700; }
.tr-small { font-size: 14px !important; color: var(--pp-muted); margin-top: 18px; }
.tr-credits { font-size: 13px; color: var(--pp-muted); margin-top: 22px; }
.tr-plans { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }

/* Long compound words (German, Dutch…) must wrap instead of widening the page on phones. */
main h1, main h2, main h3 { overflow-wrap: break-word; hyphens: auto; }

@media (max-width: 860px) {
  .tr-hero-grid, .tr-split, .tr-panel, .tr-two { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tr-phone { max-width: 260px; }
  .tr-shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
  .tr-shot { flex: 0 0 62%; scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .tr-cta .pp-buy { flex: 1 1 100%; }
  .tr-panel { padding: 18px; }
  .pp-table th, .pp-table td { padding: 10px 8px; font-size: 13px; }
}
