/* DGRT Studio — monochrome Liquid Glass.
   Black field, white type, silver chrome. Colour appears only where a product brings its own (iClipSora). */
:root {
  --bg: #000;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --surface-hover: rgba(255, 255, 255, 0.09);
  --stroke: rgba(255, 255, 255, 0.10);
  --stroke-hi: rgba(255, 255, 255, 0.26);
  --text: #F5F5F7;
  --text-2: #A1A1A6;
  --text-3: #6E6E73;
  --white: #FFFFFF;
  --chrome: linear-gradient(100deg, #7c7c80 0%, #ffffff 18%, #a9a9ae 34%, #ffffff 50%, #6f6f73 66%, #f2f2f4 82%, #7c7c80 100%);
  --r-xl: 34px; --r-lg: 26px; --r-md: 18px; --r-sm: 14px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 2px 10px rgba(0, 0, 0, 0.4);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-d: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --spring: cubic-bezier(.3, .7, .4, 1.25);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 var(--font); letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; min-height: 100vh;
}
/* living background: slow monochrome light fields + film grain */
body::before, body::after { content: ""; position: fixed; pointer-events: none; z-index: -1; }
body::before {
  inset: -20vmax;
  background:
    radial-gradient(32vmax 28vmax at 30% 30%, rgba(255,255,255,0.055), transparent 70%),
    radial-gradient(26vmax 30vmax at 72% 62%, rgba(255,255,255,0.045), transparent 70%),
    radial-gradient(22vmax 20vmax at 60% 18%, rgba(200,205,215,0.035), transparent 70%);
  animation: bg-turn 60s linear infinite;
  will-change: transform;
}
body::after {
  inset: 0; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}
@keyframes bg-turn { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(1.1); } 100% { transform: rotate(360deg) scale(1); } }
.scrolling body::before { animation-play-state: paused; }

/* Lenis smooth scroll requirements (same as iClipSora) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-d); letter-spacing: -0.035em; line-height: 1.04; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(255, 255, 255, 0.85); color: #000; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 10px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; background: #fff; color: #000; padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 16px; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- glass primitives ---------- */
.glass {
  background: var(--surface);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
  border: 1px solid var(--stroke);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), var(--shadow);
}
.glass-rim { position: relative; }
.glass-rim::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,0.40), rgba(255,255,255,0.03) 38%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.16));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* light that follows the pointer on glass cards */
.lit { position: relative; isolation: isolate; }
.lit::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.10), transparent 60%);
  transition: opacity .4s;
}
.lit:hover::before { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--stroke); background: var(--surface);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate; -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--spring), background .2s, border-color .2s, box-shadow .3s, opacity .2s;
}
.btn:hover { background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.14), transparent 70%), var(--surface-hover); border-color: var(--stroke-hi); transform: translateY(-1px); }
.btn:active { transform: scale(0.96); }
.btn[disabled] { opacity: .5; cursor: progress; transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary, .btn-white {
  background: linear-gradient(180deg, #ffffff, #e2e2e6); color: #000; border-color: transparent;
  box-shadow: inset 0 1px 0 #fff, 0 10px 34px -10px rgba(255,255,255,0.45);
}
.btn-primary:hover, .btn-white:hover { background: linear-gradient(180deg, #ffffff, #d5d5da); border-color: transparent; box-shadow: inset 0 1px 0 #fff, 0 14px 44px -10px rgba(255,255,255,0.6); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(160,160,170,0.55) 47%, transparent 62%);
  transform: translateX(-130%); animation: shine 6.5s ease-in-out 3s infinite;
}
@keyframes shine { 0%, 74% { transform: translateX(-130%); } 94%, 100% { transform: translateX(130%); } }
.btn-lg { --h: 54px; padding: 0 30px; font-size: 16px; }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; color: var(--text-2); text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 4px; }
.linkish:hover { color: var(--text); text-decoration-color: currentColor; }

/* ---------- chrome text: slowly shimmering silver ---------- */
.chrome-text {
  background: var(--chrome); background-size: 280% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: chrome 9s ease-in-out infinite alternate;
}
.chrome-text .w { background: inherit; background-size: inherit; -webkit-background-clip: text; background-clip: text;
  padding: 0 .06em .16em 0; margin: 0 -.06em -.16em 0; }   /* room for descenders (g, y, р, у) and the last letter's edge */
.mq-track span { padding-bottom: .12em; }
@keyframes chrome { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* split words reveal */
.w { display: inline-block; white-space: pre; }
.js [data-split] .w { opacity: 0; transform: translateY(.45em); filter: blur(10px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js [data-split].in .w { opacity: 1; transform: none; filter: none; }
.js .reveal { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .reveal.in.settled { transition: transform .45s var(--ease), opacity .3s, filter .3s, border-color .3s; transition-delay: 0s; }

/* ---------- navigation ---------- */
.nav {
  position: fixed; left: 50%; top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 60; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
  width: min(1200px, 100% - 24px); height: 62px; padding: 0 8px 0 16px; border-radius: 999px;
  transition: opacity 1s var(--ease), transform 1s var(--ease), background .4s;
}
.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand img { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 4px 18px rgba(255,255,255,.12); }
.brand-word { font: 700 17px/1 var(--font-d); letter-spacing: .02em; display: inline-flex; align-items: baseline; gap: 8px; }
.brand-word span { font: 500 10.5px/1 var(--font); letter-spacing: .42em; color: var(--text-2); text-transform: uppercase; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text-2); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); background: rgba(255,255,255,0.07); }
.seg-mini { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--stroke); margin-left: 6px; }
.seg-mini button { border: 0; background: none; cursor: pointer; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .05em; color: var(--text-2); transition: background .25s, color .25s; }
.seg-mini button[aria-pressed="true"] { background: #fff; color: #000; }
.nav-cta { margin-left: 6px; }
.burger { display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--stroke); border-radius: 50%; background: rgba(255,255,255,.05); cursor: pointer; }
.burger i { position: absolute; left: 14px; right: 14px; height: 1.6px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger i:nth-of-type(1) { top: 17px; } .burger i:nth-of-type(2) { top: 25px; }
.burger[aria-expanded="true"] i:nth-of-type(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-of-type(2) { top: 21px; transform: rotate(-45deg); }
.sheet {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: center; gap: 26px;
  padding: 100px max(24px, env(safe-area-inset-left, 0px)) calc(40px + env(safe-area-inset-bottom, 0px));
  background: rgba(0,0,0,.82); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
  animation: sheet-in .45s var(--ease);
}
.sheet nav { display: grid; gap: 4px; }
.sheet nav a { font: 600 40px/1.15 var(--font-d); letter-spacing: -0.03em; }
.sheet .seg-mini { align-self: flex-start; margin: 0; }
.sheet .seg-mini button { font-size: 14px; padding: 9px 16px; }
.sheet .btn { align-self: flex-start; }
@keyframes sheet-in { from { opacity: 0; } to { opacity: 1; } }
.sheet nav a { animation: sheet-link .6s var(--ease) both; }
.sheet nav a:nth-child(2) { animation-delay: .05s; } .sheet nav a:nth-child(3) { animation-delay: .1s; } .sheet nav a:nth-child(4) { animation-delay: .15s; }
@keyframes sheet-link { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; }
#coin { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; touch-action: pan-y; outline: none;
  -webkit-mask: linear-gradient(180deg, #000 72%, transparent 100%); mask: linear-gradient(180deg, #000 72%, transparent 100%); }   /* water fades out, no seam with the next section */
.coin-fallback { display: none; position: absolute; left: 50%; top: 42%; width: min(50vh, 78vw); height: auto; transform: translate(-50%, -50%); border-radius: 50%; }
html:not(.js) .coin-fallback, .no-webgl .coin-fallback { display: block; }
.no-webgl #coin { display: none; }

.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px;
  padding: 0 max(28px, var(--gutter)) calc(clamp(24px, 5vh, 44px) + env(safe-area-inset-bottom, 0px));
}
.hero-lead { max-width: 30ch; color: var(--text-2); font-size: 17px; line-height: 1.5; }
.hero-hint { justify-self: center; padding: 8px 16px; border-radius: 999px; font-size: 13px; color: var(--text-2); transition: opacity .8s; }
.hint-gone .hero-hint { opacity: 0; }
.scroll-cue { justify-self: end; display: inline-flex; flex-direction: column; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--text-2); }
.scroll-cue i { position: relative; width: 1px; height: 54px; background: rgba(255,255,255,.14); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; box-shadow: 0 0 8px #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
.js:not(.intro-done) .nav { opacity: 0; transform: translate(-50%, -16px); }
.js:not(.intro-done) .hero-hint, .js:not(.intro-done) .scroll-cue { opacity: 0; }
.hero-hint, .scroll-cue { transition: opacity 1s var(--ease) .5s; }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: clamp(110px, 16vh, 190px); }
h2 { font-size: clamp(38px, 5.4vw, 72px); font-weight: 700; }
.lead { color: var(--text-2); font-size: 19px; max-width: 54ch; line-height: 1.55; }

/* studio */
.statement { font-size: clamp(42px, 6.6vw, 98px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.0; max-width: 15ch; }
.studio-text { margin: 36px 0 0 auto; max-width: 50ch; color: var(--text-2); font-size: 19px; }
.tiles { margin-top: clamp(64px, 10vh, 110px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1200px; }
.tile {
  display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 26px; border-radius: var(--r-xl); min-height: 300px;
  transform-style: preserve-3d; transition: transform .5s var(--ease), border-color .3s, opacity 1s var(--ease), filter 1s var(--ease);
}
.tile:hover { border-color: var(--stroke-hi); }
.tile h3 { font-size: 24px; font-weight: 650; margin-top: auto; }
.tile p { color: var(--text-2); font-size: 15.5px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; margin-top: 8px; }
.more svg { width: 18px; height: 18px; transition: transform .35s var(--spring); }
a:hover .more svg, .more:hover svg { transform: translateX(4px); }
.tile-ico { width: 64px; height: 64px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; filter: drop-shadow(0 0 10px rgba(255,255,255,.35)); }
.ico-orbit { animation: spin 22s linear infinite; }
.ico-orbit .dot { fill: #fff; stroke: none; }
.ico-spark path { stroke-dasharray: 10; animation: pulse-rays 2.6s var(--ease) infinite; }
.ico-spark circle { animation: glow 2.6s ease-in-out infinite; }
.ico-web .draw { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 3.2s var(--ease) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-rays { 0% { stroke-dashoffset: 10; opacity: .2; } 45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -10; opacity: .2; } }
@keyframes glow { 50% { filter: drop-shadow(0 0 6px #fff); } }
@keyframes draw { 0% { stroke-dashoffset: 30; } 45%, 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -30; } }

/* marquee */
.marquee { position: relative; padding-block: 18px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq-row { display: flex; white-space: nowrap; transform: skewX(var(--skew, 0deg)); transition: transform .4s var(--ease); }
.mq-track { display: flex; flex: none; animation: mq 46s linear infinite; }
.mq-row.rev .mq-track { animation-direction: reverse; animation-duration: 52s; }
.mq-track span { font: 800 clamp(54px, 9vw, 140px)/1.05 var(--font-d); letter-spacing: -0.045em; padding-right: .5em; color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.32); }
.mq-track span.fill { -webkit-text-stroke: 0; background: var(--chrome); background-size: 280% 100%; -webkit-background-clip: text; background-clip: text; animation: chrome 7s ease-in-out infinite alternate; }
.mq-track span.star { -webkit-text-stroke: 0; color: rgba(255,255,255,.55); font-weight: 300; }
@keyframes mq { to { transform: translateX(-50%); } }

/* products */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: end; margin-bottom: clamp(40px, 7vh, 64px); }
.sec-head p { color: var(--text-2); font-size: 19px; max-width: 40ch; justify-self: end; }
.prod-list { display: grid; gap: 22px; }

/* iClipSora card in its own colours */
.prod-iclip {
  --grad: linear-gradient(120deg, #4C7DFF 0%, #6A5CFF 55%, #9466FF 100%);
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: center;
  padding: clamp(28px, 4.5vw, 60px); background: #0D0E10; border: 1px solid rgba(142, 162, 255, .22);
  box-shadow: 0 40px 120px -40px rgba(90, 100, 255, .55), inset 0 1px 0 rgba(255,255,255,.08);
}
.prod-iclip::before {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background:
    radial-gradient(30% 30% at 38% 36%, rgba(76, 125, 255, 0.45), transparent 70%),
    radial-gradient(28% 30% at 64% 30%, rgba(148, 102, 255, 0.40), transparent 70%),
    radial-gradient(26% 24% at 58% 66%, rgba(64, 196, 255, 0.22), transparent 70%),
    radial-gradient(24% 26% at 36% 64%, rgba(236, 140, 255, 0.18), transparent 70%);
  animation: bg-turn 40s linear infinite;
}
.prod-iclip .ic-logo { display: flex; align-items: center; gap: 14px; }
.prod-iclip .ic-logo img { width: 54px; height: 61px; filter: drop-shadow(0 6px 22px rgba(90, 100, 255, .6)); }
.ic-word { font: 750 clamp(40px, 5.4vw, 72px)/1 var(--font-d); letter-spacing: -0.04em; }
.ic-word span { background: linear-gradient(180deg, #FFFFFF, #C3CBEA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ic-word b { font-weight: inherit; background: linear-gradient(100deg, #5B86FF, #8E6BFF, #C59BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ic-body { display: grid; gap: 22px; justify-items: start; }
.ic-body p { color: #C9CCE0; font-size: 19px; max-width: 34ch; }
.by-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; font-size: 13px; color: #DCE0FF; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.by-pill img { width: 22px; height: 22px; border-radius: 50%; }
.btn-ic { background: var(--grad); color: #fff; border-color: transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 10px 34px -8px rgba(110, 124, 255, .7); }
.btn-ic:hover { background: var(--grad); filter: brightness(1.08); border-color: transparent; }
.credits { display: grid; gap: 10px; }
.credit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.reward-btn {
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px 0 14px; border-radius: 999px; border: 0; cursor: pointer; color: #000; font-weight: 700; font-size: 14.5px;
  background: linear-gradient(180deg, #fff, #dcdce2); box-shadow: 0 0 0 1px rgba(255,255,255,.6), 0 0 30px rgba(255,255,255,.35);
  animation: reward-pulse 2.8s ease-in-out infinite; transition: transform .3s var(--spring);
}
.reward-btn svg { width: 18px; height: 18px; animation: gift 2.8s ease-in-out infinite; }
.reward-btn:hover { transform: translateY(-1px) scale(1.03); }
.reward-btn:active { transform: scale(.96); }
.reward-glow { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(105deg, transparent 30%, rgba(140,140,150,.55) 48%, transparent 62%); transform: translateX(-130%); animation: shine 3.4s ease-in-out infinite; }
@keyframes reward-pulse { 50% { box-shadow: 0 0 0 4px rgba(255,255,255,.18), 0 0 54px rgba(255,255,255,.55); } }
@keyframes gift { 0%, 70%, 100% { transform: none; } 78% { transform: rotate(-12deg) scale(1.1); } 86% { transform: rotate(10deg) scale(1.1); } }
.prod-iclip .reward-btn { box-shadow: 0 0 0 1px rgba(255,255,255,.6), 0 0 34px rgba(140,130,255,.6); }
.credit { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: var(--text-2); }
.credit b { color: var(--text); font-weight: 600; }

/* live iClipSora preview (same engine as iclipsora.com) */
.ic-stage { position: relative; display: grid; gap: 14px; justify-items: center; width: 100%; max-width: 360px; justify-self: center; }
.ic-stage::before { content: ""; position: absolute; inset: 8% -8% 6%; background: radial-gradient(closest-side, rgba(110, 124, 255, .35), transparent); filter: blur(30px); z-index: -1; }
.ic-canvas { width: 100%; aspect-ratio: 9 / 16; max-height: 72vh; object-fit: contain; }
.ic-tabs { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.ic-tabs button { border: 0; background: none; cursor: pointer; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #b9bdd6; transition: background .25s, color .25s; }
.ic-tabs button[aria-pressed="true"] { background: linear-gradient(120deg, #4C7DFF, #7A5CFF); color: #fff; }
.vid-frame { justify-self: center; width: min(300px, 100%); aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.16), 0 40px 90px -30px rgba(0,0,0,.9); }
.vid-frame video { width: 100%; height: 100%; object-fit: cover; }

/* other products (added in the admin) */
.prod-card {
  --c1: #8a8a8a; --c2: #ffffff;
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: center; padding: clamp(24px, 3.5vw, 40px);
}
.prod-card.has-video { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.prod-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 26px; align-items: center; }
.has-video .prod-main { grid-template-columns: auto minmax(0, 1fr); }
.has-video .prod-main > .btn { grid-column: 2; justify-self: start; }
.prod-card::before { content: ""; position: absolute; inset: -30%; z-index: -1; opacity: .5;
  background: radial-gradient(35% 45% at 18% 40%, color-mix(in srgb, var(--c1) 55%, transparent), transparent 70%), radial-gradient(30% 40% at 80% 60%, color-mix(in srgb, var(--c2) 40%, transparent), transparent 70%);
  animation: bg-turn 50s linear infinite; }
.prod-logo { width: 84px; height: 84px; border-radius: 24px; object-fit: cover; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 12px 40px -12px var(--c1); display: grid; place-items: center; font: 700 30px var(--font-d); color: #fff; }
.prod-card h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.prod-card p { color: var(--text-2); margin-top: 8px; max-width: 56ch; }
.prod-card .credits { margin-top: 14px; }
.soon { font: 600 12px var(--font); letter-spacing: .02em; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--stroke-hi); color: var(--text-2); }

.next-card {
  margin-top: 22px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 26px 30px; border-radius: var(--r-xl); border-style: dashed; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.02);
}
.next-card:hover { border-color: rgba(255,255,255,.45); }
.next-ring { width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(from 0deg, transparent, #fff, transparent 40%); -webkit-mask: radial-gradient(circle, transparent 29px, #000 30px); mask: radial-gradient(circle, transparent 29px, #000 30px); animation: spin 3.5s linear infinite; }
.next-body { display: grid; gap: 4px; }
.next-body b { font: 650 22px var(--font-d); letter-spacing: -0.02em; }
.next-body span { color: var(--text-2); }

/* ideas + waterfall */
.ideas { overflow: hidden; }
.falls { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; -webkit-mask: linear-gradient(transparent, #000 15%, #000 80%, transparent); mask: linear-gradient(transparent, #000 15%, #000 80%, transparent); }
.ideas-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.ideas-intro .lead { margin-top: 26px; }
.mini-steps { margin-top: 44px; counter-reset: s; display: grid; gap: 22px; }
.mini-steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; }
.mini-steps li::before { content: counter(s); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 600 15px var(--font-d); background: rgba(255,255,255,.06); border: 1px solid var(--stroke-hi); box-shadow: 0 0 20px rgba(255,255,255,.08); }
.mini-steps b { font-weight: 600; font-size: 17px; }
.mini-steps span { color: var(--text-2); font-size: 15.5px; }
.perks { margin-top: 40px; padding: 26px; border-radius: var(--r-xl); display: grid; gap: 10px; position: relative; overflow: hidden; }
.perks::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.16), transparent); animation: breathe 6s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 50% { transform: scale(1.25); opacity: .6; } }
.perks-ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: #fff; color: #000; box-shadow: 0 0 30px rgba(255,255,255,.35); margin-bottom: 4px; }
.perks-ico svg { width: 24px; height: 24px; animation: gift 3.2s ease-in-out infinite; }
.perks h3 { font-size: 24px; font-weight: 700; }
.perks > p { color: var(--text-2); }
.perks-label { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.perk-examples { display: grid; gap: 10px; }
.perk-ex { padding: 16px 18px; border-radius: 20px; display: grid; gap: 10px; background: rgba(255,255,255,.04); }
.perk-head { display: flex; align-items: center; gap: 12px; }
.perk-head img { width: 34px; height: 38px; object-fit: contain; }
.perk-head b { display: block; font-weight: 650; }
.perk-head span { font-size: 13px; color: var(--text-2); }
.perk-ex p { font-size: 15px; color: #d6d6da; line-height: 1.5; }

/* ---------- forms ---------- */
.form { display: grid; gap: 20px; padding: clamp(22px, 3.2vw, 38px); border-radius: var(--r-xl); position: relative; }
.field { display: grid; gap: 9px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field legend { padding: 0; margin-bottom: 10px; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--text); }
.field em { font-style: normal; color: var(--text-3); font-weight: 500; margin-left: 6px; }
.field small { font-size: 13px; color: var(--text-3); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.13); color: var(--text); font-size: 16px;
  transition: border-color .2s, box-shadow .25s, background .2s; -webkit-appearance: none; appearance: none;
}
textarea.input { resize: vertical; min-height: 128px; line-height: 1.5; }
.input::placeholder { color: var(--text-3); }
.input:hover { border-color: rgba(255,255,255,.28); }
.input:focus { outline: none; border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.06); box-shadow: 0 0 0 4px rgba(255,255,255,.08), 0 0 24px rgba(255,255,255,.08); }
.input[aria-invalid="true"] { border-color: #fff; border-style: dashed; }
.err { font-size: 13px; color: #fff; display: flex; gap: 8px; align-items: center; }
.err::before { content: "!"; flex: none; width: 17px; height: 17px; border-radius: 50%; background: #fff; color: #000; font-weight: 800; font-size: 11px; display: grid; place-items: center; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--text-2); cursor: pointer; position: relative; }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; }
.check .box { width: 24px; height: 24px; border-radius: 8px; border: 1px solid var(--stroke-hi); display: grid; place-items: center; transition: background .2s, border-color .2s, transform .3s var(--spring); }
.check .box svg { width: 16px; height: 16px; color: #000; opacity: 0; transform: scale(.4); transition: .3s var(--spring); }
.check input:checked + .box { background: #fff; border-color: #fff; }
.check input:checked + .box svg { opacity: 1; transform: none; }
.check input:focus-visible + .box { outline: 2px solid #fff; outline-offset: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 15px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: background .25s, color .25s, border-color .25s, transform .3s var(--spring); }
.chips label:hover span { border-color: rgba(255,255,255,.4); color: var(--text); }
.chips input:checked + span { background: #fff; color: #000; border-color: #fff; box-shadow: 0 6px 22px -8px rgba(255,255,255,.6); }
.chips input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }

/* iOS switch */
.switch-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--r-md); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1); cursor: pointer; position: relative; }
.switch-row b { display: block; font-weight: 600; font-size: 15.5px; }
.switch-row small { color: var(--text-3); font-size: 13px; }
.switch-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { width: 52px; height: 32px; border-radius: 999px; background: rgba(255,255,255,.16); position: relative; transition: background .3s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.4); transition: transform .35s var(--spring), width .2s; }
.switch-row input:checked ~ .switch { background: #fff; box-shadow: 0 0 18px rgba(255,255,255,.45); }
.switch-row input:checked ~ .switch::after { transform: translateX(20px); background: #000; }
.switch-row input:focus-visible ~ .switch { outline: 2px solid #fff; outline-offset: 3px; }
.reveal-box { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease), opacity .4s; opacity: 0; margin-top: -20px; }
.reveal-box > div { overflow: hidden; display: grid; gap: 16px; padding-top: 0; }
.reveal-box.open { grid-template-rows: 1fr; opacity: 1; margin-top: 0; }

/* segmented control (iOS) */
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--stroke); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.seg button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15.5px; color: var(--text-2); white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: color .35s; }
.seg button svg { width: 18px; height: 18px; }
.seg button[aria-checked="true"] { color: #000; }
.seg-thumb { position: absolute; top: 0; left: 0; border-radius: 999px; background: linear-gradient(180deg, #fff, #e4e4e8); box-shadow: 0 6px 24px -6px rgba(255,255,255,.55), inset 0 1px 0 #fff; transform: translate(var(--tx, 5px), var(--ty, 5px)); width: var(--tw, 0); height: var(--th, 0); transition: transform .55s var(--spring), width .55s var(--spring), height .55s var(--spring); }
.seg.no-anim .seg-thumb { transition: none; }
.seg-sm button { padding: 10px 18px; font-size: 14.5px; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.consent { flex: 1; min-width: 220px; font-size: 13px; color: var(--text-3); }
.consent .linkish { font-size: 13px; }
.pay-note { font-size: 14px; color: var(--text-2); padding-top: 16px; border-top: 1px solid var(--stroke); }
.form-msg:empty { display: none; }
.form-msg { font-size: 14px; color: #fff; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.35); }
.form-msg a { font-weight: 600; text-decoration: underline; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form.is-done > :not(.form-done) { display: none; }
.form-done { display: grid; justify-items: start; gap: 12px; padding-block: 22px; animation: done-in .8s var(--ease); }
.form-done h3 { font-size: 30px; font-weight: 700; }
.form-done p { color: var(--text-2); }
.form-done .btn { margin-top: 8px; }
.done-mark { width: 72px; height: 72px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 14px rgba(255,255,255,.55)); }
.done-mark circle { stroke-dasharray: 176; stroke-dashoffset: 176; animation: stroke 1s var(--ease) forwards; }
.done-mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: stroke .6s var(--ease) .7s forwards; }
@keyframes stroke { to { stroke-dashoffset: 0; } }
@keyframes done-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- start a project ---------- */
.start-head { display: grid; gap: 22px; margin-bottom: 36px; }
.start .seg { margin-bottom: 26px; }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.stage .pane-steps { order: 1; } .stage .pane-form { order: 2; }
.stage.flip .pane-steps { order: 2; } .stage.flip .pane-form { order: 1; }
.pane { border-radius: var(--r-xl); will-change: transform; }
.pane-steps { padding: clamp(24px, 3.2vw, 38px); position: sticky; top: 96px; }
.pane-steps h3 { font-size: 24px; font-weight: 700; margin-bottom: 26px; }
.steps { display: grid; position: relative; }
.steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding-bottom: 22px; position: relative; }
.steps li:not(:last-child)::before { content: ""; position: absolute; left: 21.5px; top: 46px; bottom: 2px; width: 1px; background: linear-gradient(#fff, rgba(255,255,255,.15)); box-shadow: 0 0 8px rgba(255,255,255,.6); transform-origin: top; }
.steps .node { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 600 15px var(--font-d); background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.4); box-shadow: 0 0 0 4px rgba(255,255,255,.03), 0 0 22px rgba(255,255,255,.15); }
.steps li:first-child .node { background: #fff; color: #000; box-shadow: 0 0 28px rgba(255,255,255,.6); }
.steps b { font-weight: 650; font-size: 17px; padding-top: 2px; }
.steps p { color: var(--text-2); font-size: 15px; }
.steps.swap li { animation: step-in .7s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.steps.swap li::before { animation: grow-line .7s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 200ms); }
@keyframes grow-line { from { transform: scaleY(0); } }
@keyframes step-in { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }

/* ---------- finale: contact + footer on one liquid-chrome background ---------- */
.finale { position: relative; isolation: isolate; overflow: hidden; }
#chrome { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
  -webkit-mask: linear-gradient(180deg, transparent 0, #000 26%, #000 100%); mask: linear-gradient(180deg, transparent 0, #000 26%, #000 100%); }
.finale-veil { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 40% at 28% 38%, rgba(0,0,0,.6), transparent 75%),
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.42) 72%, rgba(0,0,0,.6) 100%); }
.contact { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding-block: 180px 80px; }
.contact-title { font-size: clamp(44px, 7.4vw, 112px); font-weight: 800; letter-spacing: -0.05em; line-height: .98; max-width: 12ch; }
.contact-inner .lead { margin-top: 26px; color: #d0d0d4; }
.contact-cards { margin-top: clamp(40px, 7vh, 70px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 980px; }
.ccard { display: grid; gap: 6px; padding: 28px; border-radius: var(--r-xl); background: rgba(10,10,12,.42); }
.ccard-ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid var(--stroke-hi); margin-bottom: 12px; }
.ccard-ico svg { width: 22px; height: 22px; }
.ccard-label { color: var(--text-2); font-size: 14px; font-weight: 500; }
.ccard-value { font: 650 clamp(20px, 2.3vw, 28px)/1.2 var(--font-d); letter-spacing: -0.02em; overflow-wrap: anywhere; user-select: all; }
.ccard-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- footer ---------- */
.foot { position: relative; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }
.foot-word { width: min(1200px, 100% - 2 * var(--gutter)); margin: clamp(48px, 8vw, 90px) auto clamp(28px, 4vw, 48px); aspect-ratio: 1600 / 393; color: transparent; font-size: 0; -webkit-background-clip: border-box !important; background-clip: border-box !important; background-size: 200% 100% !important; animation-duration: 6s !important;
  -webkit-mask: url(/assets/img/dgrt-word.png) center / contain no-repeat; mask: url(/assets/img/dgrt-word.png) center / contain no-repeat; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--text-3); font-size: 14px; }
.foot-links { display: flex; gap: 22px; }
.foot-links a:hover, .foot-links .linkish:hover { color: var(--text); }
.foot-links .linkish { text-decoration: none; color: inherit; font-size: 14px; }

/* ---------- toast & dialog ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 90; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px; transition: .45s var(--spring); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reward-dlg { max-width: min(520px, 100vw - 32px); width: 100%; color: var(--text); border-radius: 30px; padding: clamp(26px, 4vw, 40px); background: rgba(16,16,18,.86); overflow: hidden; }
.reward-dlg[open] { animation: dlg-in .55s var(--spring); }
.reward-dlg::backdrop { background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(20px) scale(.94); } }
.reward-burst { position: absolute; inset: -40% -40% auto auto; width: 360px; height: 360px; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgba(255,255,255,.18), transparent 30%, rgba(255,255,255,.12), transparent 60%); animation: spin 14s linear infinite; pointer-events: none; z-index: -1; }
.reward-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.reward-head img { width: 56px; height: 56px; object-fit: contain; }
.reward-head span { font-size: 14px; color: var(--text-2); }
.reward-head h2 { font-size: 26px; }
.reward-name { font-weight: 650; font-size: 17px; margin-bottom: 8px; }
.reward-text { color: #d9d9de; font-size: 17px; line-height: 1.6; }
.reward-dlg form { margin-top: 24px; }
.privacy { max-width: min(560px, 100vw - 32px); width: 100%; color: var(--text); border-radius: 28px; padding: clamp(24px, 4vw, 40px); background: rgba(16,16,18,.82); }
.privacy::backdrop { background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.privacy h2 { font-size: 28px; margin-bottom: 18px; }
.privacy p { color: var(--text-2); margin-bottom: 12px; font-size: 15.5px; }
.privacy a { color: #fff; text-decoration: underline; }
.privacy form { margin-top: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav-links, .nav .seg-mini, .nav-cta { display: none; }
  .burger { display: block; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .tile h3 { margin-top: 8px; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .sec-head p { justify-self: start; }
  .prod-iclip { grid-template-columns: 1fr; }
  .ic-stage { max-width: 300px; }
  .ideas-grid { grid-template-columns: 1fr; }
  .stage, .stage.flip { grid-template-columns: 1fr; }
  .stage .pane-steps, .stage.flip .pane-steps { order: 1; position: static; }
  .stage .pane-form, .stage.flip .pane-form { order: 2; }
  .contact-cards { grid-template-columns: 1fr; }
  .finale-veil { background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 22%, rgba(0,0,0,.5) 60%, rgba(0,0,0,.8) 100%); }
  .prod-card.has-video { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { height: 56px; top: calc(8px + env(safe-area-inset-top, 0px)); width: calc(100% - 16px); }
  .hero-foot { grid-template-columns: 1fr; gap: 14px; }
  .hero-hint { justify-self: start; }
  .scroll-cue { display: none; }
  .hero-lead { font-size: 16px; }
  .lead, .studio-text, .sec-head p { font-size: 17px; }
  .studio-text { margin-left: 0; }
  .row { grid-template-columns: 1fr; }
  .form { padding: 20px 16px; border-radius: 26px; }
  .form-foot .btn { width: 100%; }
  .start .seg { display: grid; grid-auto-flow: row; border-radius: 26px; width: 100%; }
  .start .seg button { padding: 13px 16px; }
  .start .seg .seg-thumb { border-radius: 20px; }
  .pane-steps { padding: 22px 18px; border-radius: 26px; }
  .next-card { grid-template-columns: auto 1fr; padding: 22px; }
  .next-card .more { grid-column: 1 / -1; }
  .prod-main { grid-template-columns: auto 1fr; }
  .prod-main > .btn { grid-column: 1 / -1; justify-self: start; }
  .perks { padding: 22px 18px; }
  .prod-logo { width: 64px; height: 64px; border-radius: 18px; }
  .ccard { padding: 22px 18px; }
  .ccard-actions .btn { flex: 1; }
  .foot-row { flex-direction: column-reverse; align-items: flex-start; }
  .brand-word span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-split] .w, .js .reveal { opacity: 1; transform: none; filter: none; }
}
/* dialogs stay fixed in the middle of the screen (.glass-rim must not make them part of the page flow) */
dialog.reward-dlg, dialog.privacy { position: fixed; inset: 0; margin: auto; height: fit-content; max-height: calc(100dvh - 32px); overflow-x: hidden; overflow-y: auto; }
dialog.reward-dlg { overflow: hidden; }
dialog:focus, dialog:focus-visible { outline: none; }
/* long reward text scrolls inside; our own slim scrollbar on the side appears only when the text doesn't fit */
.reward-scroll { position: relative; }
.reward-text { max-height: min(46vh, 420px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: none; }
.reward-text::-webkit-scrollbar { display: none; }
.reward-scroll.scrollable .reward-text { padding-right: 18px; -webkit-mask: linear-gradient(180deg, #000 calc(100% - 40px), transparent); mask: linear-gradient(180deg, #000 calc(100% - 40px), transparent); }
.reward-scroll.scrollable.at-end .reward-text { -webkit-mask: none; mask: none; }
.rs-track { display: none; position: absolute; top: 2px; bottom: 2px; right: 0; width: 5px; border-radius: 5px; background: rgba(255,255,255,.1); }
.reward-scroll.scrollable .rs-track { display: block; }
.rs-thumb { position: absolute; left: 0; right: 0; top: 0; min-height: 28px; border-radius: 5px; background: rgba(255,255,255,.7); box-shadow: 0 0 10px rgba(255,255,255,.35); cursor: grab; touch-action: none; }
.rs-thumb:active { cursor: grabbing; background: #fff; }
#reward-t:focus { outline: none; }
.privacy { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.45) transparent; }
