/* Dimau Premium Theme v2 (3 Dec 2026; v2 adds OKLCH colour, hairline + top-edge light, grain, specular
   cursor light, concentric corners, tabular money, spring motion, page morphing, scroll reveals)
   Donovan: "top tier premium glossy polished looks" for every app.
   Brand stays sky blue. Adds a deep navy for weight and one bold accent (coral),
   aurora background, glossy glass cards, gradient headlines, shimmer buttons.

   HOW TO USE IN ANY APP (plain HTML or framework):
   1. FIRST element inside <head>:  <style>@layer dimau-theme;</style>
      (declaring this layer first lets its !important rules beat older app CSS).
   2. Load this file LAST in <head>: <link rel="stylesheet" href="/dimau-premium-theme.css?v=20261203">
   3. Add class="dimau-premium" to <html>.
   It styles the shared class names used across Dimau apps (.glass .card .hero .btn
   .btn.primary .btn.ghost .eyebrow .muted header) and offers dp-* helpers.
   Meaning colours (errors, warnings, approved/rejected) are never recoloured.
   Every colour is an OKLCH token (owner QA rule, 3 Dec 2026). */

@layer dimau-theme {

html.dimau-premium {
  --dp-navy: oklch(26.4% 0.068 255.3);
  --dp-ink: oklch(25.9% 0.056 255.8);
  --dp-body: oklch(43.8% 0.056 251.9);
  --dp-sky: oklch(81.5% 0.082 225.8);
  --dp-sky-400: oklch(75.6% 0.110 229.4);
  --dp-sky-600: oklch(67.9% 0.135 236.8);
  --dp-ocean: oklch(56.3% 0.143 246.9);
  --dp-deep: oklch(45.7% 0.120 248.5);
  --dp-coral: oklch(70.7% 0.187 34.1);
  --dp-gold: oklch(81.9% 0.147 80.3);
  --dp-mist: oklch(98.0% 0.010 228.9);
  --dp-radius: 22px;
  --dp-radius-sm: 14px;
  --dp-glass: linear-gradient(150deg, oklch(100.0% 0.000 0.0 / 0.88), oklch(100.0% 0.000 0.0 / 0.62));
  --dp-border: oklch(100.0% 0.000 0.0 / 0.75);
  --dp-shadow: 0 1px 0 oklch(100.0% 0.000 0.0 / 0.95) inset, 0 30px 70px -28px oklch(26.4% 0.068 255.3 / 0.35), 0 10px 24px -14px oklch(56.3% 0.143 246.9 / 0.35);
  --dp-glow: 0 10px 30px -8px oklch(56.3% 0.143 246.9 / 0.6), 0 2px 6px oklch(26.4% 0.068 255.3 / 0.18);
  --dp-head: Manrope, "Plus Jakarta Sans", system-ui, sans-serif;
  --dp-text: Lexend, Inter, system-ui, sans-serif;
  background: oklch(96.6% 0.015 229.0) !important;
  color-scheme: light;
}

/* Aurora background: brand sky with a warm coral breath, fixed behind the page. */
html.dimau-premium body {
  font-family: var(--dp-text) !important;
  color: var(--dp-body) !important;
  background:
    radial-gradient(55% 45% at 8% -5%, oklch(81.5% 0.082 225.8 / 0.75), transparent 62%),
    radial-gradient(40% 35% at 100% 5%, oklch(70.7% 0.187 34.1 / 0.2), transparent 60%),
    radial-gradient(55% 50% at 85% 95%, oklch(67.9% 0.135 236.8 / 0.38), transparent 62%),
    radial-gradient(45% 40% at 0% 100%, oklch(81.9% 0.147 80.3 / 0.16), transparent 60%),
    linear-gradient(180deg, oklch(98.7% 0.008 228.9) 0%, oklch(94.6% 0.025 229.1) 100%) !important;
  background-attachment: fixed !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html.dimau-premium h1, html.dimau-premium h2, html.dimau-premium h3, html.dimau-premium h4 {
  font-family: var(--dp-head) !important;
  color: var(--dp-ink) !important;
  letter-spacing: -.025em !important;
}

/* Hero headline: glossy gradient ink. */
html.dimau-premium .hero h1, html.dimau-premium h1.dp-gradient, html.dimau-premium .dp-gradient {
  font-weight: 800 !important;
  letter-spacing: -.04em !important;
  line-height: 1.02 !important;
  background: linear-gradient(100deg, var(--dp-navy) 0%, var(--dp-deep) 40%, var(--dp-sky-600) 72%, var(--dp-coral) 108%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

/* Eyebrow: coral pill with a live dot. */
html.dimau-premium .eyebrow, html.dimau-premium .dp-eyebrow {
  display: inline-flex !important; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px !important;
  border-radius: 999px !important;
  background: oklch(70.7% 0.187 34.1 / 0.1) !important;
  border: 1px solid oklch(70.7% 0.187 34.1 / 0.28) !important;
  color: oklch(55.3% 0.172 34.9) !important;
  font: 700 11.5px/1 var(--dp-text) !important;
  letter-spacing: .12em !important;
  margin-bottom: 14px !important;
}
html.dimau-premium .eyebrow::before, html.dimau-premium .dp-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--dp-coral); box-shadow: 0 0 0 4px oklch(70.7% 0.187 34.1 / 0.18);
}

/* Glossy glass cards. */
html.dimau-premium .glass, html.dimau-premium .card, html.dimau-premium .dp-card {
  background: var(--dp-glass) !important;
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--dp-border) !important;
  border-radius: var(--dp-radius) !important;
  box-shadow: var(--dp-shadow) !important;
}

/* Hero: a bigger stage with a soft gradient rim and a light sheen. */
html.dimau-premium .hero, html.dimau-premium .dp-hero {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 28px !important;
  padding: clamp(24px, 4vw, 48px) !important;
}
html.dimau-premium .hero::before, html.dimau-premium .dp-hero::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1;
  background: linear-gradient(135deg, oklch(100.0% 0.000 0.0 / 0.95), oklch(81.5% 0.082 225.8 / 0.8) 35%, oklch(70.7% 0.187 34.1 / 0.45) 70%, oklch(56.3% 0.143 246.9 / 0.6));
  -webkit-mask: linear-gradient(oklch(0.0% 0.000 0.0) 0 0) content-box, linear-gradient(oklch(0.0% 0.000 0.0) 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
html.dimau-premium .hero::after, html.dimau-premium .dp-hero::after {
  content: ""; position: absolute; z-index: -2; pointer-events: none;
  width: 520px; height: 520px; right: -180px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, oklch(81.5% 0.082 225.8 / 0.55), transparent 65%);
}
html.dimau-premium .hero p, html.dimau-premium .dp-hero p { font-size: 1.04rem; line-height: 1.7; }

/* Buttons. */
html.dimau-premium .btn, html.dimau-premium .dp-btn {
  min-height: 48px !important;
  padding: 0 22px !important;
  border-radius: var(--dp-radius-sm) !important;
  font: 600 15px/1.2 var(--dp-text) !important;
  color: var(--dp-navy) !important;
  background: linear-gradient(180deg, oklch(100.0% 0.000 0.0 / 0.95), oklch(97.7% 0.012 236.6 / 0.85)) !important;
  border: 1px solid oklch(56.3% 0.143 246.9 / 0.22) !important;
  box-shadow: 0 1px 0 oklch(100.0% 0.000 0.0) inset, 0 6px 16px -8px oklch(26.4% 0.068 255.3 / 0.3) !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}
html.dimau-premium .btn:hover, html.dimau-premium .dp-btn:hover {
  transform: translateY(-1px);
  border-color: oklch(56.3% 0.143 246.9 / 0.45) !important;
  box-shadow: 0 1px 0 oklch(100.0% 0.000 0.0) inset, 0 12px 26px -10px oklch(56.3% 0.143 246.9 / 0.45) !important;
}
html.dimau-premium .btn.primary, html.dimau-premium .dp-btn-primary {
  position: relative; overflow: hidden;
  color: oklch(100.0% 0.000 0.0) !important;
  border: 1px solid oklch(100.0% 0.000 0.0 / 0.25) !important;
  background: linear-gradient(135deg, var(--dp-sky-400) 0%, var(--dp-ocean) 55%, var(--dp-deep) 100%) !important;
  box-shadow: 0 1px 0 oklch(100.0% 0.000 0.0 / 0.45) inset, var(--dp-glow) !important;
  text-shadow: 0 1px 1px oklch(31.4% 0.084 252.4 / 0.35);
}
html.dimau-premium .btn.primary:hover, html.dimau-premium .dp-btn-primary:hover {
  box-shadow: 0 1px 0 oklch(100.0% 0.000 0.0 / 0.5) inset, 0 16px 36px -10px oklch(56.3% 0.143 246.9 / 0.75), 0 2px 6px oklch(26.4% 0.068 255.3 / 0.2) !important;
}
html.dimau-premium .btn.primary::after, html.dimau-premium .dp-btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, oklch(100.0% 0.000 0.0 / 0.45), transparent);
  transform: skewX(-20deg);
  animation: dp-shimmer 4.5s ease-in-out infinite;
}
html.dimau-premium .btn.ghost, html.dimau-premium .dp-btn-ghost {
  background: transparent !important; box-shadow: none !important;
  border-color: transparent !important; color: var(--dp-ocean) !important;
  text-decoration: none !important;
}
html.dimau-premium .btn.ghost:hover, html.dimau-premium .dp-btn-ghost:hover {
  background: oklch(81.5% 0.082 225.8 / 0.18) !important; color: var(--dp-deep) !important;
}
html.dimau-premium :is(.row-item, li, td, nav) .btn { min-height: 40px !important; padding: 0 14px !important; font-size: 14px !important; }
html.dimau-premium .btn.small { min-height: 40px !important; padding: 0 16px !important; font-size: 14px !important; }

@keyframes dp-shimmer { 0%, 55% { left: -60%; } 100% { left: 130%; } }

/* Frosted header with a brand hairline. */
html.dimau-premium header, html.dimau-premium .dk-header, html.dimau-premium .dp-header {
  background: oklch(100.0% 0.000 0.0 / 0.72) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid oklch(100.0% 0.000 0.0 / 0.8) !important;
  box-shadow: 0 1px 0 oklch(56.3% 0.143 246.9 / 0.12), 0 10px 30px -20px oklch(26.4% 0.068 255.3 / 0.35) !important;
}

/* Pictures inside cards: lifted, rounded, with a fine light ring. */
html.dimau-premium .glass img:not([width="16"]):not([width="20"]):not([width="24"]):not(.icon),
html.dimau-premium .dp-photo {
  border-radius: 20px !important;
  box-shadow: 0 0 0 1px oklch(100.0% 0.000 0.0 / 0.8), 0 24px 50px -24px oklch(26.4% 0.068 255.3 / 0.55) !important;
}

html.dimau-premium .muted { color: oklch(53.9% 0.047 249.8) !important; }
html.dimau-premium a:not(.btn):not([class*="dk-"]) { color: var(--dp-ocean); }
html.dimau-premium ::selection { background: oklch(70.7% 0.187 34.1 / 0.25); }

/* Body text in Lexend everywhere (some app CSS pins Arial on p). */
html.dimau-premium :is(p, li, label, small, td, th, dd, dt, input, select, textarea, button, .btn) {
  font-family: var(--dp-text) !important;
}

/* Split hero: words left, picture right on wide screens. Add class dp-hero-split. */
@media (min-width: 1024px) {
  html.dimau-premium .dp-hero-split {
    max-width: none !important; width: 100% !important;
    display: grid !important; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    column-gap: 48px; align-items: start; align-content: start;
  }
  html.dimau-premium .dp-hero-split > :not(img):not(picture) { grid-column: 1; }
  html.dimau-premium .dp-hero-split > .eyebrow, html.dimau-premium .dp-hero-split > .dp-eyebrow { justify-self: start; }
  html.dimau-premium .dp-hero-split .hero-actions { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 12px; align-items: center; }
  html.dimau-premium .dp-hero-split .hero-actions .btn { width: auto !important; margin: 0 !important; }
  html.dimau-premium .dp-hero-split > :is(img, picture) {
    grid-column: 2; grid-row: 1 / span 8; align-self: center;
    width: 100% !important; height: 100% !important; min-height: 420px; max-height: 560px;
    object-fit: cover; margin: 0 !important;
  }
}

/* ---------- Image-first hero (.dp-media-hero), 3 Dec 2026 ----------
   Text sits ON the photo. Art-direct: give phones their own tall photo with <picture><source media="(max-width: 767px)">
   and set --dp-media-ratio to that photo's height/width (e.g. 1.25 for 4:5). The photo is always shown whole (no cropping, owner rule 2 Dec 2026):
   the box takes the photo's own shape. Use a photo with open space on the left (sky, sea).
   Markup: <div class="dp-media-hero"><img ...><div class="dp-media-copy"><p class="eyebrow">..</p><h1>..</h1>
   <p class="dp-media-sub">..</p><div class="dp-media-actions"><button class="btn primary">..</button>
   <button class="btn dp-btn-glass">..</button></div></div></div> */
html.dimau-premium .dp-media-hero {
  position: relative !important; display: grid !important; grid-template-columns: 1fr !important; grid-template-rows: auto !important;
  overflow: hidden !important; isolation: isolate; border-radius: 28px !important; padding: 0 !important; container-type: inline-size;
  background: oklch(22% 0.06 255) !important; border: 1px solid oklch(100% 0 0 / 0.14) !important;
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.18), 0 40px 80px -36px oklch(22% 0.07 255 / 0.65) !important;
  min-height: 0 !important; max-width: 1240px; margin-inline: auto;
}
html.dimau-premium .dp-media-hero > picture { grid-area: 1 / 1 !important; display: block !important; margin: 0 !important; width: 100% !important; max-width: none !important; justify-self: stretch !important; align-self: start !important; position: static !important; padding: 0 !important; }
html.dimau-premium .dp-media-hero > :is(img, picture) > img, html.dimau-premium .dp-media-hero > img {
  grid-area: 1 / 1 !important; position: static !important; inset: auto !important; display: block !important;
  width: 100% !important; height: auto !important; max-height: none !important; min-height: 0 !important; aspect-ratio: auto !important; object-fit: contain !important;
  border-radius: 0 !important; box-shadow: none !important; margin: 0 !important; opacity: 1 !important; filter: none !important; transform: none !important;
}
html.dimau-premium .dp-media-hero::after {
  content: "" !important; grid-area: 1 / 1; position: relative; z-index: 1 !important; pointer-events: none; display: block !important;
  background: linear-gradient(90deg, oklch(17% 0.05 255 / 0.9) 0%, oklch(17% 0.05 255 / 0.62) 34%, oklch(17% 0.05 255 / 0.12) 58%, transparent 70%) !important;
}
html.dimau-premium .dp-media-hero::before { display: none !important; }
html.dimau-premium .dp-media-copy {
  grid-area: 1 / 1 !important; position: relative !important; z-index: 3 !important; align-self: center !important; justify-self: start !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; filter: none !important; opacity: 1 !important; transform: none !important; animation: none !important;
  width: min(560px, 52%) !important; max-width: none !important; margin: 0 !important; padding: clamp(28px, 4.5cqw, 64px) !important;
  background: none !important; border: 0 !important; box-shadow: none !important; color: oklch(97% 0.01 230) !important; text-align: left !important;
}
html.dimau-premium .dp-media-copy h1 {
  margin: 0 0 14px !important; font-size: clamp(36px, 5cqw, 64px) !important; line-height: 1.02 !important; letter-spacing: -0.035em !important;
  background: linear-gradient(180deg, oklch(99% 0.005 230) 30%, oklch(86% 0.07 225) 100%) !important;
  -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; -webkit-text-fill-color: transparent !important;
}
html.dimau-premium .dp-media-copy h1 :is(span, em) { -webkit-text-fill-color: transparent !important; color: transparent !important; background: inherit !important; -webkit-background-clip: text !important; background-clip: text !important; }
html.dimau-premium .dp-media-copy .eyebrow {
  background: oklch(20% 0.04 255 / 0.5) !important; border-color: oklch(100% 0 0 / 0.22) !important; color: oklch(95% 0.02 230) !important;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
html.dimau-premium .dp-media-sub { margin: 0 0 22px !important; max-width: 46ch !important; font-size: 17px !important; line-height: 1.55 !important; color: oklch(91% 0.02 230) !important; }
html.dimau-premium .dp-media-actions { display: flex !important; flex-wrap: wrap; gap: 12px !important; margin: 0 !important; }
html.dimau-premium .dp-btn-glass {
  background: oklch(20% 0.04 255 / 0.42) !important; color: oklch(98% 0.005 230) !important; border: 1px solid oklch(100% 0 0 / 0.28) !important;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.2) !important; text-shadow: none !important;
}
html.dimau-premium .dp-btn-glass:hover { background: oklch(20% 0.04 255 / 0.6) !important; border-color: oklch(100% 0 0 / 0.45) !important; }
/* Phones: photo stays whole on top; badge and headline sit on the photo's open sky, the rest continues on the navy band below. */
@media (max-width: 767px) {
  html.dimau-premium .dp-media-hero { grid-template-rows: auto auto !important; border-radius: 22px !important; }
  html.dimau-premium .dp-media-hero::after { background: linear-gradient(180deg, oklch(17% 0.05 255 / 0.62) 0%, oklch(17% 0.05 255 / 0.18) 34%, transparent 48%, oklch(22% 0.06 255 / 0.8) 100%) !important; }
  html.dimau-premium .dp-media-copy {
    grid-area: 1 / 1 / 3 / 2 !important; width: 100% !important; align-self: stretch !important; padding: 16px 18px 22px !important;
    display: grid !important; grid-template-rows: calc(100cqw * var(--dp-media-ratio, 0.6667) - 16px) auto !important; align-content: start;
  }
  html.dimau-premium .dp-media-copy > .dp-media-top { align-self: start; }
  html.dimau-premium .dp-media-copy > .dp-media-bottom { padding-top: 16px; }
  html.dimau-premium .dp-media-copy h1 { font-size: clamp(24px, 7.4cqw, 34px) !important; }
  html.dimau-premium .dp-media-sub { font-size: 16px !important; }
  html.dimau-premium .dp-media-actions .btn { flex: 1 1 100%; }
}

/* Helpers any app can use. */
html.dimau-premium .dp-accent { color: var(--dp-coral) !important; }
html.dimau-premium .dp-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: oklch(81.5% 0.082 225.8 / 0.22); border: 1px solid oklch(56.3% 0.143 246.9 / 0.2); color: var(--dp-deep); font-weight: 600; font-size: 13px;
}
html.dimau-premium .dp-stat { font: 800 clamp(28px,4vw,44px)/1 var(--dp-head); letter-spacing: -.03em; color: var(--dp-navy); }

@media (max-width: 767px) {
  html.dimau-premium .hero, html.dimau-premium .dp-hero { border-radius: 24px !important; padding: 24px 20px !important; }
  html.dimau-premium .hero h1 { font-size: clamp(34px, 10vw, 44px) !important; }
  html.dimau-premium .btn, html.dimau-premium .dp-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html.dimau-premium .btn.primary::after, html.dimau-premium .dp-btn-primary::after { animation: none; display: none; }
  html.dimau-premium .btn, html.dimau-premium .dp-btn { transition: none !important; }
}


/* ---------- v2 (3 Dec 2026) ---------- */
html.dimau-premium {
  --dp-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dp-hair: 1px solid oklch(30% 0.05 250 / 0.08);
  --dp-toplight: inset 0 1px 0 oklch(100.0% 0.000 0.0 / 0.95);
  --dp-pad: 20px;
}

/* Off-white, never pure white: cards are tinted glass. Hairline borders + top-edge light. */
html.dimau-premium .glass, html.dimau-premium .card, html.dimau-premium .dp-card {
  position: relative;
  border: var(--dp-hair) !important;
  box-shadow: var(--dp-toplight), 0 30px 70px -28px oklch(26.4% 0.068 255.3 / 0.32), 0 10px 24px -14px oklch(56.3% 0.143 246.9 / 0.28) !important;
  transition: border-color .25s var(--dp-ease), transform .25s var(--dp-ease), box-shadow .25s var(--dp-ease);
}
html.dimau-premium .glass:hover, html.dimau-premium .card:hover { border-color: oklch(56.3% 0.143 246.9 / 0.22) !important; }

/* Specular light that follows the cursor across cards (desktop only; set by dimau-premium-theme.js). */
html.dimau-premium.dp-pointer :is(.card, .dp-card):not(.hero)::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--dp-x, -999px) var(--dp-y, -999px), oklch(100.0% 0.000 0.0 / 0.55), oklch(81.5% 0.082 225.8 / 0.12) 35%, transparent 62%);
  mix-blend-mode: soft-light; opacity: 0; transition: opacity .3s var(--dp-ease);
}
html.dimau-premium.dp-pointer :is(.card, .dp-card):not(.hero):hover::after { opacity: 1; }

/* Concentric corners: an inner box's radius = card radius minus card padding. */
html.dimau-premium :is(.glass, .card) :is(.row-item, .tile, .stat, .dp-inner, input, select, textarea) { border-radius: 12px; }

/* Money that never jiggles: tabular figures on every amount. */
html.dimau-premium :is(.num, .amt, .money, td, .t-num) {
  font-variant-numeric: tabular-nums lining-nums !important;
  letter-spacing: -0.01em;
}
/* Big headline figures use natural spacing (tabular spacing leaves gaps around commas at large sizes). */
html.dimau-premium .safe-big, html.dimau-premium .dp-stat { font-variant-numeric: lining-nums proportional-nums !important; letter-spacing: -0.035em !important; }

/* Readable line length for paragraphs. */
html.dimau-premium :is(.glass, .card) > p { max-width: 62ch; }

/* Press feel: buttons compress slightly on tap, spring back. */
html.dimau-premium .btn, html.dimau-premium .dp-btn { transition: transform .18s var(--dp-ease), box-shadow .2s var(--dp-ease), background .2s ease !important; }
html.dimau-premium .btn:active, html.dimau-premium .dp-btn:active { transform: scale(.97) !important; }

/* Fine grain over the whole page: removes gradient banding, gives a printed, premium finish. */
html.dimau-premium body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 2147483000; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Cards rise gently into view as you scroll (browsers that support it; others just show them). */
@supports (animation-timeline: view()) {
  html.dimau-premium main :is(.card, .dp-card):not(.hero) {
    animation: dp-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 30%;
  }
  @keyframes dp-rise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
}


/* Slow phones and people who ask for less motion get the calm version automatically. */
@media (prefers-reduced-motion: reduce), (prefers-reduced-transparency: reduce) {
  html.dimau-premium body::before, html.dimau-premium :is(.card, .dp-card)::after { display: none !important; }
  html.dimau-premium main :is(.card, .dp-card) { animation: none !important; }
  html.dimau-premium :is(.glass, .card, header) { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}

}

/* Native-app style cross-fade between pages. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
