/* -----------------------------------------------------------------------------
   Page-level utilities for platform.html and services.html
   -----------------------------------------------------------------------------
   site/styles.css is generated by build/build.sh and shared by every page, so
   it is left untouched. The reference markup for /platform and /services uses a
   handful of utility classes that the shared layer does not carry yet; they are
   declared here, in the same compact form as build/styles.utilities.css, and
   only these two pages link this file, and it is linked BEFORE styles.css so
   the shared layer's responsive variants (sm:text-6xl, md:text-[42px]) still
   win at their breakpoints.
   -------------------------------------------------------------------------- */

/* Position */
.-left-32 { left: -8rem }
.-right-32 { right: -8rem }
.-top-32 { top: -8rem }
.top-10 { top: 2.5rem }
.top-20 { top: 5rem }

/* Size */
.aspect-square { aspect-ratio: 1 / 1 }
.h-\[300px\] { height: 300px }
.h-\[420px\] { height: 420px }
.h-\[460px\] { height: 460px }
.w-\[420px\] { width: 420px }
.w-\[460px\] { width: 460px }

/* Spacing */
.pb-12 { padding-bottom: 3rem }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem }
.py-12 { padding-top: 3rem; padding-bottom: 3rem }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem }

/* Typography */
.max-w-lg { max-width: 32rem }
.text-2xl { font-size: 1.5rem; line-height: 2rem }
.text-\[42px\] { font-size: 42px }
.leading-\[0\.98\] { line-height: 0.98 }
.tracking-\[-0\.02em\] { letter-spacing: -0.02em }

/* Colour */
.bg-pink-500 { background-color: #ec4899 }
.bg-\[radial-gradient\(circle\,rgba\(104\,40\,190\,0\.2\)\,transparent_62\%\)\] { background-image: radial-gradient(circle,rgba(104,40,190,0.2),transparent 62%) }
.bg-\[radial-gradient\(circle\,rgba\(104\,40\,190\,0\.2\)\,transparent_64\%\)\] { background-image: radial-gradient(circle,rgba(104,40,190,0.2),transparent 64%) }
.bg-\[radial-gradient\(circle\,rgba\(124\,58\,237\,0\.14\)\,transparent_66\%\)\] { background-image: radial-gradient(circle,rgba(124,58,237,0.14),transparent 66%) }

/* Effects */
.opacity-50 { opacity: 0.5 }
.shadow-\[0_30px_70px_-45px_rgba\(11\,11\,12\,0\.5\)\] { box-shadow: 0 30px 70px -45px rgba(11,11,12,0.5) }

/* Leading corrections
   styles.css declares the .leading-* utilities before .text-*, so a
   `text-sm leading-relaxed` paragraph would otherwise take text-sm's 1.25rem
   leading. These selectors out-specify the utility without touching the
   shared sheet, and restore the reference leading. */
main .leading-relaxed { line-height: 1.625 }

/* Below the sm breakpoint nothing else sets the heading leading, so the
   reference's explicit leading must beat the .text-3xl line-height. From sm up
   the responsive text utilities (sm:text-4xl, md:text-[42px]) take over, which
   is what the reference does too. */
@media (max-width: 639px) {
  main .leading-\[1\.05\] { line-height: 1.05 }
  main .leading-\[0\.98\] { line-height: 0.98 }
}

/* The shared reset also balances every heading. The reference only balances
   the h2s that carry .text-balance, so the h1 and the program titles wrap
   normally; .text-balance still wins where the markup asks for it. */
main h1,
main h2,
main h3 { text-wrap: wrap }

/* The shared reset gives headings a 1.15 display leading; the reference lets
   card and program titles inherit the body leading (1.5). h1/h2 set their own
   leading through utility classes, which still win. */
main h3 { line-height: 1.5 }

/* Responsive */
@media (min-width: 768px) {
  .md\:h-\[380px\] { height: 380px }
  .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem }
}

/* -----------------------------------------------------------------------------
   Legal + security pages (privacy.html, terms.html, security.html)
   These three pages are built from the reference markup but did not link this
   file, so their heading scale, paragraph rhythm and decorative circles fell
   back to the shared base. Same compact form as the block above; still linked
   before styles.css so the shared responsive variants keep winning.
   -------------------------------------------------------------------------- */

/* Text */
.text-4xl { font-size: 2.25rem; line-height: 2.5rem }

/* Spacing */
.pt-10 { padding-top: 2.5rem }
.pb-20 { padding-bottom: 5rem }
.space-y-10 > :not([hidden]) ~ :not([hidden]) { margin-top: 2.5rem }

/* Decoration */
.opacity-40 { opacity: 0.4 }
.-right-28 { right: -7rem }
.h-\[440px\] { height: 440px }
.w-\[440px\] { width: 440px }
.bg-\[radial-gradient\(circle\,rgba\(13\,148\,136\,0\.16\)\,transparent_66\%\)\] { background-image: radial-gradient(circle,rgba(13,148,136,0.16),transparent 66%) }

@media (min-width: 640px) {
  .sm\:text-5xl { font-size: 3rem; line-height: 1 }
}
