/* BASE — element defaults + the handful of layout/animation utilities that define the
   page skeleton. Class prefix: .pdc- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--surface-page); color: var(--text-body);
  font-family: var(--font-text); font-size: var(--fs-body-sm); line-height: var(--lh-body-sm);
  letter-spacing: var(--tr-body-sm); font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display); font-weight: var(--fw-semibold); color: var(--text-title); margin: 0;
  text-wrap: pretty;
}
h1 { font-size: var(--fs-display-2); line-height: var(--lh-display-2); letter-spacing: var(--tr-display-2); }
h2 { font-size: var(--fs-headline-2); line-height: var(--lh-headline-2); letter-spacing: var(--tr-headline-2); }
h3 { font-size: var(--fs-title-1); line-height: var(--lh-title-1); letter-spacing: var(--tr-title-1); }
h4 { font-size: var(--fs-title-3); line-height: var(--lh-title-3); letter-spacing: var(--tr-title-3); }
h5, h6 { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); letter-spacing: var(--tr-body-sm); }
p { margin: 0; }
img, video { max-width: 100%; display: block; }
a { color: var(--text-link); text-decoration: none; transition: color var(--dur-fast) var(--ease-brand), opacity var(--dur-fast) var(--ease-brand); }
a:hover { text-decoration: underline; color: var(--text-link); }
a:active { opacity: var(--press-opacity); text-decoration: underline; }
:focus-visible { outline: none; box-shadow: var(--ring-focus); border-radius: var(--radius-xs); }
::selection { background: rgba(0, 113, 227, 0.22); }
button { font: inherit; letter-spacing: inherit; }
ul, ol { margin: 0; padding-left: 1.15em; }
hr { border: 0; border-top: 1px solid var(--border-quiet); margin: 0; }

/* Layout skeleton */
.pdc-container { width: 100%; max-width: var(--page-max); margin: 0 auto; padding-inline: var(--gutter); }
.pdc-container--wide { max-width: var(--page-max-wide); }
.pdc-container--narrow { max-width: var(--page-max-narrow); }
.pdc-section { padding-block: var(--section-y); }
.pdc-section--tight { padding-block: var(--section-y-sm); }
.pdc-section--loose { padding-block: var(--section-y-lg); }
.pdc-section--field { background: var(--surface-field); }
.pdc-grid { display: grid; gap: var(--grid-gap); }
.pdc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.pdc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pdc-stack { display: flex; flex-direction: column; gap: var(--stack); }
.pdc-row { display: flex; align-items: center; gap: var(--space-5); }
.pdc-center { text-align: center; }
.pdc-tabular { font-variant-numeric: tabular-nums; }

/* TILE GRID — the layout system. Every marketing block is a tile that is either the full
   page width or half of it; tiles sit edge-to-edge with a 12px gap and stack downward.
   There is no third width. */
.pdc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--tile-gap); background: var(--surface-page); }
.pdc-tile--full { grid-column: span 2; }
.pdc-tile--half { grid-column: span 1; }

/* Scroll reveal — add .pdc-reveal, then .is-in when it enters the viewport */
.pdc-reveal { opacity: 0; transform: translateY(var(--reveal-y)); transition: opacity var(--dur-reveal) var(--ease-brand), transform var(--dur-reveal) var(--ease-brand); will-change: opacity, transform; }
.pdc-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .pdc-reveal { opacity: 1; transform: none; } }

/* Sticky translucent nav shell */
.pdc-navbar { position: sticky; top: 0; z-index: 50; height: var(--nav-h-lg); display: flex; align-items: center; background: var(--surface-nav); -webkit-backdrop-filter: var(--blur-nav); backdrop-filter: var(--blur-nav); border-bottom: 1px solid var(--border-quiet); }

@media (max-width: 1068px) {
  :root { --tile-h-full: 600px; --tile-h-half: 520px; }
}
@media (max-width: 734px) {
  .pdc-tiles { grid-template-columns: 1fr; }
  .pdc-tile--full, .pdc-tile--half { grid-column: span 1; }
  :root { --tile-h-full: 500px; --tile-h-half: 460px; --tile-pad-y: 40px; --tile-pad-x: 24px; }
  .pdc-container { padding-inline: var(--gutter-sm); }
  .pdc-section { padding-block: var(--section-y-sm); }
  .pdc-grid--2, .pdc-grid--3 { grid-template-columns: 1fr; }
  h1 { font-size: var(--fs-display-1-sm); }
  h2 { font-size: var(--fs-headline-2-sm); }
  h3 { font-size: var(--fs-title-1-sm); }
}
