/* ---------- Unlimited contact data view (#unlimited-data): the Waterfalls page's parts (wfp-* in waterfalls.css) with
   a night-lake hero, the database numbers on a panel across the hero's bottom edge, two bands, and the privacy note ---------- */

/* hero: the painting fills the section; the numbers panel sits on its bottom edge, half over the paper */
.udp-hero{--half:96px;display:flex;flex-direction:column;gap:clamp(48px,5vw,72px);min-height:clamp(520px,43vw,720px);padding-bottom:0}
.udp-hero .wfp-sky{bottom:0;height:auto}
/* the hero (Nick 2026-10-25): pink crayon paper with crayon mailboxes, phones and briefcases scattered around the copy,
   which is centred, in dark ink (the header takes its on-paper look: data-paper on <main>). The paper is a seamless tile
   quilted from his reference's own background and recoloured pink (assets/site/udp/paper-pink.webp) */
.udp-pink{background:#FAC1DA url(assets/site/udp/paper-pink-light.webp) 0 0/512px 512px}
/* the site's paper grain over the coloured paper, as on every cream section (Nick 2026-10-27: the Unlimited data hero had
   lost the texture; the recoloured tile alone is nearly flat). Stronger than the cream pages' paper (Nick, the same
   day): assets/site/paper-grain.webp is that paper in neutral grey with its weave 1.9x deeper (each pixel's distance from white), so it adds grain
   without a tint */
.udp-pink::after{content:"";position:absolute;inset:0;background:url(assets/site/paper-grain.webp) 0 0/256px 256px;mix-blend-mode:multiply;opacity:.45;pointer-events:none}
/* Nick, 2026-11-16: the line under the title was hard to read on the deep pink and its weave (the Signals hero's fix,
   here and on the wallet's): the paper is a light pink (paper-pink-light.webp, the same tile recoloured with
   tools/art/wallet/paper.py; paper-pink.webp stays as the tile every other paper is made from), the grain over it is at
   45%, and the line is in ink at 86% */
/* the height follows the field (Nick, the same day: less pink between the objects and the panel, the panel still on the
   paper's edge): per object tier, the panel's glass starts 28px under the lowest object above it (udp_markup.py OBJ) */
.udp-hero{gap:40px;min-height:611px}
@media (min-width:1280px){.udp-hero{min-height:642px}}
@media (min-width:1366px){.udp-hero{min-height:701px}}
@media (min-width:1440px){.udp-hero{min-height:752px}}
@media (min-width:1536px){.udp-hero{min-height:788px}}
@media (min-width:1680px){.udp-hero{min-height:815px}}
.udp-hero .wfp-hero-copy{display:flex;flex-direction:column;align-items:center;gap:22px;max-width:760px;text-align:center}
.udp-hero h1{max-width:15em;color:#141414}
.udp-hero .wfp-hero-body{display:flex;flex-direction:column;align-items:center;max-width:none;justify-self:auto}
/* the subline a size up from the Waterfalls hero's (Nick), still two lines on desktop */
.udp-hero .wfp-hero-body p{max-width:34em;font-size:clamp(16.5px,1.36vw,20px);color:rgba(20,20,20,.86)}
.udp-hero .wfp-hero-body .ctas{margin-top:26px}
/* the objects: positioned from the centre line (x) and the hero top (y), in px, so they keep their distance from the copy;
   the field clips whatever falls past the screen. Each floats on its own slow loop (translate only; loops always play), the
   phones' speed lines pulse */
.udp-field{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
/* centred on (x, y) and then turned about its own centre (one transform: the rotate property would pivot it before it is
   centred); the float moves it in screen space (translate) */
.udp-ob,.udp-ln{position:absolute;left:calc(50% + var(--x) * 1px);top:calc(var(--y) * 1px);width:calc(var(--w) * 1px);max-width:none;height:auto;margin:0;transform:translate(-50%,-50%) rotate(var(--r))}
.udp-ob{animation:udp-float 7.5s ease-in-out var(--d) infinite alternate}
.udp-ln{animation:udp-float 7.5s ease-in-out var(--d) infinite alternate,udp-ring 1.8s ease-in-out var(--d) infinite}
@keyframes udp-float{from{translate:0 0}to{translate:0 -9px}}
@keyframes udp-ring{0%,100%{opacity:1}50%{opacity:.4}}
/* past 2200px the field spreads with the screen so it never ends in a visible edge */
@media (min-width:2200px){.udp-ob,.udp-ln{left:calc(50% + var(--x) * 100vw / 2200)}}
.udp-strip{display:none}
/* the numbers panel's glass and shadow, tuned for the pink (the night needed a heavy black shadow) */
.udp-hero .udp-stats{background:rgba(255,255,255,.22);box-shadow:0 40px 80px -40px rgba(120,20,70,.45)}
/* objects that only fit on wider screens (the generator's measured tier per object) */
@media (max-width:1279px){.udp-field .t1280{display:none}}
@media (max-width:1365px){.udp-field .t1366{display:none}}
@media (max-width:1439px){.udp-field .t1440{display:none}}
@media (max-width:1535px){.udp-field .t1536{display:none}}
@media (max-width:1679px){.udp-field .t1680{display:none}}
@media (max-width:1919px){.udp-field .t1920{display:none}}
@media (min-width:1280px){.udp-field .u1280{display:none}}
@media (min-width:1366px){.udp-field .u1366{display:none}}
@media (min-width:1440px){.udp-field .u1440{display:none}}
@media (min-width:1536px){.udp-field .u1536{display:none}}
@media (min-width:1680px){.udp-field .u1680{display:none}}
@media (min-width:1920px){.udp-field .u1920{display:none}}
.udp-stats{width:min(var(--grid),100%);margin:auto auto 0;margin-bottom:calc(var(--half) * -1);padding:14px;border-radius:22px;background:rgba(255,255,255,.12);box-shadow:0 40px 80px -40px rgba(0,0,0,.6);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.udp-stats-card{display:flex;flex-direction:column;align-items:center;gap:18px;padding:30px 12px 22px;border-radius:12px;background:#fff}
.udp-stats-in{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:100%;margin:0;padding:0;list-style:none}
.udp-stat{display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 12px;text-align:center}
.udp-stat+.udp-stat{border-left:1px solid rgba(0,0,0,.08)}
.udp-stat-ic{width:22px;height:22px;color:rgba(0,0,0,.5)}
.udp-stat b{font:500 clamp(27px,2.79vw,41.5px)/1 var(--sans);letter-spacing:-.025em;color:#141414;font-variant-numeric:tabular-nums}
.udp-stat span{font:400 clamp(12.5px,0.99vw,14.5px)/1.3 var(--sans);color:rgba(0,0,0,.6)}
.udp-stat-live{display:inline-flex;align-items:center;gap:6px;margin-top:-2px;font:500 11px/1.2 var(--sans);font-style:normal;color:#1C8A5C}
.udp-stat-live i{width:6px;height:6px;border-radius:50%;background:#23A26D;box-shadow:0 0 0 3px rgba(35,162,109,.18)}
@media (max-width:1180px){.udp-stats-in{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:26px}.udp-stat:nth-child(4){border-left:0}}
.udp-stats-cap{padding:0 8px;font:400 13px/1.4 var(--sans);color:rgba(0,0,0,.6);text-align:center;text-wrap:balance}
.udp-stats-cap i{display:inline-block;width:7px;height:7px;margin:0 9px 1px 0;border-radius:50%;background:#23A26D;box-shadow:0 0 0 3px rgba(35,162,109,.18)}
.udp-bands{padding-top:calc(var(--half,96px) + clamp(120px,11vw,160px))}
@media (max-width:900px){
  /* phones: the copy stacks over the sky, so the painting starts under it and the moon rises in the gap above the numbers */
  .udp-hero{--half:150px}
  .udp-bands{--half:150px}
  .udp-stats{padding:8px;border-radius:16px}
  .udp-stats-in{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:26px}
  .udp-stat{padding:0 4px}
  .udp-stat+.udp-stat{border-left:0}
  /* three to a row: below ~420px a 27px figure ('145M+') nearly fills its column and the row read as one string */
  .udp-stat b{font-size:clamp(23px,6.4vw,27px)}
}

/* each band: three crayon-framed cards to a row (as in the the loopster-x prototype homepage bands), then a live animation */
.udp-band{gap:44px}
.udp-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,2.2vw,32px);width:100%;margin:0;padding:0;list-style:none}
.udp-card{position:relative;isolation:isolate;display:flex;flex-direction:column;gap:10px;padding:26px 26px 28px}
.udp-card::before{content:"";position:absolute;inset:-9px;z-index:-1;pointer-events:none;border-style:solid;border-width:58px;border-image-source:var(--frame);border-image-slice:116 fill;border-image-width:58px;border-image-repeat:repeat}
.udp-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px;margin-bottom:4px}
.udp-card-ic{width:24px;height:24px;flex:none;color:color-mix(in srgb,var(--bink) 85%,#000)}
.udp-card-n{font:400 27px/1 var(--pixel);color:color-mix(in srgb,var(--bink) 72%,transparent)}
.udp-card-num{font:500 clamp(23.5px,1.98vw,29px)/1 var(--sans);letter-spacing:-.02em;color:rgba(0,0,0,.86);font-variant-numeric:tabular-nums}
.udp-card h3{margin:0;font:500 17px/1.3 var(--sans);color:rgba(0,0,0,.86)}
.udp-card p{font:400 14px/1.55 var(--sans);color:rgba(0,0,0,.68);text-wrap:pretty}
.udp-shot{margin-top:4px}
@media (max-width:1023px){.udp-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.udp-cards{grid-template-columns:minmax(0,1fr)}.udp-band{gap:32px}}

/* the privacy note: taped across the pool band, impossible to miss */
.udp-privacy{position:relative;isolation:isolate;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:clamp(20px,3vw,44px);width:min(1100px,100%);padding:clamp(30px,3.4vw,44px) clamp(24px,4.4vw,60px);transform:rotate(-.6deg);filter:drop-shadow(0 4px 6px rgba(108,98,78,.14))}
.udp-privacy::before{content:"";position:absolute;inset:-9px;z-index:-1;pointer-events:none;border-style:solid;border-width:58px;border-image-source:var(--frame);border-image-slice:116 fill;border-image-width:58px;border-image-repeat:repeat}
.udp-privacy-art{width:clamp(66px,7vw,96px);height:auto}
.udp-privacy h3{margin:0 0 8px;font:500 clamp(20px,1.8vw,25px)/1.2 var(--sans);letter-spacing:-.015em;color:rgba(0,0,0,.86);text-wrap:balance}
.udp-privacy p{max-width:44em;font:400 15px/1.55 var(--sans);color:rgba(0,0,0,.7);text-wrap:pretty}
.udp-private-list{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0;padding:0;list-style:none}
.udp-private-list li{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 13px 0 11px;border-radius:6px;background:rgba(255,255,255,.75);box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);font:500 13px/1 var(--sans);color:rgba(0,0,0,.78)}
.udp-lock{width:14px;height:14px;color:#3F5356}
.udp-band-pool{padding-bottom:clamp(64px,6vw,96px)}
@media (max-width:640px){.udp-privacy{grid-template-columns:minmax(0,1fr);transform:none}.udp-privacy-art{width:64px}}

/* footer CTA on this page: the How it works river and its line */
body[data-view="unlimited-data"] .foot-cta-main{display:none}
body[data-view="unlimited-data"] .foot-cta-river{display:flex}

/* under 1200px there is no room for the field beside the copy: a row of objects between the copy and the numbers instead
   (clipped sideways only, so the objects' tips never get cut flat) */
@media (max-width:1199px){
  .udp-hero{gap:32px;min-height:0}
  .udp-field{display:none}
  .udp-strip{display:flex;justify-content:center;align-items:center;gap:clamp(4px,2vw,14px);margin:6px calc(var(--gut) * -1) 0;overflow-x:clip}
  .udp-so{flex:none;width:calc(var(--w) * 1px);height:auto;max-width:none;rotate:var(--r);animation:udp-float 7.5s ease-in-out infinite alternate}
  .udp-so:nth-child(2n){animation-delay:-2.4s}.udp-so:nth-child(3n){animation-delay:-4.1s}
}
@media (max-width:420px){.udp-so:first-child,.udp-so:last-child{display:none}.udp-so{width:calc(var(--w) * .8px)}}
