/*
 * DPDP Compliance landing page - utility completion layer
 * -------------------------------------------------------
 * The site uses a precompiled Tailwind bundle that does not contain every
 * utility used by this page. Without these rules cards lose their inner
 * padding, blocks sit flush against each other, icon tiles lose their
 * colour and desktop type does not scale. Values below match the standard
 * Tailwind scale/palette so the page renders as originally authored.
 *
 * Loaded AFTER /assets/vendor/tailwind/tailwind.css.
 */

/* Base spacing */
.p-7       { padding: 1.75rem; }
.pt-14     { padding-top: 3.5rem; }
.py-24     { padding-top: 6rem; padding-bottom: 6rem; }
.mb-5      { margin-bottom: 1.25rem; }
.mb-7      { margin-bottom: 1.75rem; }
.mb-14     { margin-bottom: 3.5rem; }
.mb-20     { margin-bottom: 5rem; }
.mt-8      { margin-top: 2rem; }
.mt-14     { margin-top: 3.5rem; }
.gap-x-10  { column-gap: 2.5rem; }
.gap-y-6   { row-gap: 1.5rem; }

/* Sticky-header offset for in-page anchors */
.scroll-mt-24 { scroll-margin-top: 6rem; }
.scroll-mt-28 { scroll-margin-top: 7rem; }

/* md (768px) */
@media (min-width: 768px) {
    .md\:p-7    { padding: 1.75rem; }
    .md\:p-10   { padding: 2.5rem; }
    .md\:pt-16  { padding-top: 4rem; }
    .md\:mb-14  { margin-bottom: 3.5rem; }
    .md\:mb-16  { margin-bottom: 4rem; }
    .md\:mt-16  { margin-top: 4rem; }
}

/* lg (1024px) */
@media (min-width: 1024px) {
    .lg\:pt-24  { padding-top: 6rem; }
    .lg\:gap-7  { gap: 1.75rem; }
}

/* xl (1280px) */
@media (min-width: 1280px) {
    .xl\:gap-8  { gap: 2rem; }
    .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------------
 * Non-spacing utilities also missing from the compiled bundle.
 * Values mirror the standard Tailwind palette/scale.
 * ------------------------------------------------------------------ */

/* Line heights */
.leading-snug { line-height: 1.375; }
.leading-7    { line-height: 1.75rem; }
.leading-8    { line-height: 2rem; }

/* Backgrounds used by the risk-card icon tiles and legal note */
.bg-pink-950    { --tw-bg-opacity: 1; background-color: rgb(80 7 36 / var(--tw-bg-opacity, 1)); }
.bg-sky-950     { --tw-bg-opacity: 1; background-color: rgb(8 47 73 / var(--tw-bg-opacity, 1)); }
.bg-teal-950    { --tw-bg-opacity: 1; background-color: rgb(4 47 46 / var(--tw-bg-opacity, 1)); }
.bg-violet-950  { --tw-bg-opacity: 1; background-color: rgb(46 16 101 / var(--tw-bg-opacity, 1)); }
.bg-slate-950\/70 { background-color: rgba(2, 6, 23, 0.7); }

/* Icon colours */
.text-sky-400    { --tw-text-opacity: 1; color: rgb(56 189 248 / var(--tw-text-opacity, 1)); }
.text-violet-400 { --tw-text-opacity: 1; color: rgb(167 139 250 / var(--tw-text-opacity, 1)); }

/* Card borders + hover accents */
.border-red-500\/30 { border-color: rgba(239, 68, 68, 0.3); }
.hover\:border-red-500\/60:hover   { border-color: rgba(239, 68, 68, 0.6); }
.hover\:border-amber-500\/60:hover { border-color: rgba(245, 158, 11, 0.6); }
.hover\:border-blue-500\/60:hover  { border-color: rgba(59, 130, 246, 0.6); }

/* Business-case panel shadow tint */
.shadow-cyan-950\/10 {
    --tw-shadow-color: rgba(8, 51, 68, 0.1);
    --tw-shadow: var(--tw-shadow-colored);
}

/* Responsive type scale */
@media (min-width: 768px) {
    .md\:text-base { font-size: 1rem;      line-height: 1.5rem; }
    .md\:text-lg   { font-size: 1.125rem;  line-height: 1.75rem; }
    .md\:text-xl   { font-size: 1.25rem;   line-height: 1.75rem; }
    .md\:text-2xl  { font-size: 1.5rem;    line-height: 2rem; }
    .md\:text-3xl  { font-size: 1.875rem;  line-height: 2.25rem; }
    .md\:text-4xl  { font-size: 2.25rem;   line-height: 2.5rem; }
}
