/* PrimeGrip AI case, version 3 — after the Figma community file “Personal Portfolio Website Design” (Lev's reference, 06.11.2026),
   kept to one column: a white page, dark Inter headings in one colour (Lev, 06.11.2026), Poppins for numbers and card titles,
   a small label on a green highlighter stroke (it replaced the template's oval), solid green buttons, coloured confetti dots and dot grids at the edges,
   white cards with a wide soft shadow. The green is Debi's own. Every product screen sits inside a laptop or a phone. */

:root {
  --bg: #FFFFFF;
  --ink: #111111;
  --ink-2: #3D3D3D;
  --muted: #8B8B8B;
  --line: #ECECEC;
  --g: #00A69A;               /* Debi green: headline words, dots, the block behind the laptop */
  --g-ink: #05857B;           /* Debi brand: buttons and small green text */
  --g-50: #EAF8F7;

  --c-green: #00A69A;
  --c-blue: #016AAE;
  --c-rose: #E5546B;
  --c-amber: #F2B134;
  --c-ink: #111111;

  --sans: Inter, system-ui, sans-serif;
  --pop: Poppins, Inter, system-ui, sans-serif;

  --max: 1110px;
  --shadow: 0 0 0 1px rgb(17 17 17 / .035), 0 30px 70px -18px rgb(17 17 17 / .1);

  --ui-font: Inter, system-ui, sans-serif;
  --ui-ink: #141414;
  --ui-2: #5F6368;
  --ui-3: #8A8A8A;
  --ui-line: #EBEBEB;
  --ui-muted: #F1F2F5;
  --ui-field: #F6F7F7;
  --ui-brand: #05857B;
  --ui-brand-50: #EAF8F7;
  --ui-brand-100: #DFF2F1;
  --ui-green: #00A69A;
  --ui-blue: #016AAE;
  --ui-orange: #DE7600;
  --ui-orange-ink: #9A5200;
  --ui-orange-50: #F7EDE2;
  --ui-rose: #D9546A;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); letter-spacing: -.005em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
.ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { position: relative; max-width: calc(var(--max) + 2 * var(--sh-pad, 24px)); margin: 0 auto; padding: 0 var(--sh-pad, 24px); }
.txt { max-width: 640px; }

/* ── top bar: name, page links, the product */
.top { position: fixed; z-index: 30; inset: 0 0 auto; display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 var(--sh-pad); background: rgb(255 255 255 / .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.top.sh-away { transform: translateY(-100%); }
.top .sh-name { color: var(--ink); }
.nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 40px; }
.nav a { position: relative; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 1px; background: var(--g); transform: scaleX(0); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a.on::after { transform: none; }
@media (max-width: 820px) { .nav { display: none; } }
.btn-o { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border: 1px solid var(--g-ink); border-radius: 12px; color: var(--g-ink); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.btn-o .ic { width: 15px; height: 15px; }
.btn-o:hover { background: var(--g-ink); color: #fff; }
@media (max-width: 520px) { .top { height: 56px; } .btn-o { height: 34px; padding: 0 12px; font-size: 13px; } }

/* ── the small label above a heading: dark text on a light green highlighter stroke that draws in from the left */
.eyebrow { position: relative; display: inline-block; font: 500 20px/1.35 var(--sans); color: var(--ink); letter-spacing: -.01em; }
.eyebrow span { position: relative; z-index: 0; padding: 0 2px; }
.eyebrow span::before { content: ""; position: absolute; z-index: -1; left: -7px; right: -9px; top: 26%; bottom: -3px; background: #A9E4DE; border-radius: 3px 9px 4px 10px / 8px 4px 9px 5px; clip-path: polygon(0 14%, 2% 3%, 30% 0, 97% 7%, 100% 22%, 99% 84%, 96% 100%, 40% 96%, 3% 92%, 1% 70%); transform: rotate(-1.4deg); transform-origin: 0 50%; }
@media (prefers-reduced-motion: no-preference) {
  .js .eyebrow span::before { transform: rotate(-1.4deg) scaleX(0); transition: transform .75s cubic-bezier(.6,.05,.3,1) .2s; }
  .js .eyebrow.in span::before { transform: rotate(-1.4deg) scaleX(1); }
}

h1 { margin-top: 18px; font: 600 clamp(42px, 5.6vw, 64px)/1.15 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
h2 { margin-top: 14px; font: 600 clamp(32px, 3.8vw, 44px)/1.22 var(--sans); letter-spacing: -.03em; text-wrap: balance; }
.nw { white-space: nowrap; }   /* phrases that must stay on one line */
@media (max-width: 360px) { h1 { font-size: 36px; } }   /* so “owners can read” fits on one line at 320 */
.lead, .txt > p:not(.eyebrow) { margin-top: 22px; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.txt > p + p:not(.eyebrow) { margin-top: 14px; }

.cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 30px; margin-top: 36px; }
.btn-g { display: inline-flex; align-items: center; height: 56px; padding: 0 26px; border-radius: 14px; background: var(--g-ink); color: #fff; font-size: 16px; font-weight: 500; text-decoration: none; transition: background-color .2s, transform .2s; }
.btn-g:hover { background: #046F66; }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; text-decoration: none; }
.more .ic { width: 22px; height: 22px; color: var(--g); stroke-width: 1.6; transition: transform .25s; }
.more:hover .ic { transform: translate(2px, 2px); }

/* ── decoration: confetti dots and dot grids */
.confetti { position: absolute; inset: 0 0 auto; height: 900px; pointer-events: none; }
.confetti i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%; background: var(--c); }
@media (prefers-reduced-motion: no-preference) {
  .confetti i { animation: bob 7s ease-in-out infinite alternate; }
  .confetti i:nth-child(3n) { animation-duration: 9s; animation-delay: -3s; }
  .confetti i:nth-child(3n+1) { animation-duration: 8s; animation-delay: -5s; }
  @keyframes bob { from { transform: translate3d(0, -5px, 0); } to { transform: translate3d(0, 6px, 0); } }
}
@media (max-width: 700px) { .confetti i:nth-child(n+9), .confetti i:nth-child(2), .confetti i:nth-child(3), .confetti i:nth-child(5), .confetti i:nth-child(8) { display: none; } }
.dgrid { position: absolute; width: 62px; height: 132px; pointer-events: none;
  background:
    radial-gradient(circle, var(--c-rose) 1.6px, transparent 2px) 0 0 / 12px 12px,
    radial-gradient(circle, var(--c-green) 1.6px, transparent 2px) 6px 6px / 12px 12px; opacity: .85; }
.dgrid.at-r { right: 0; top: 520px; }
.dgrid.at-l { left: 0; top: 40px; }
.dgrid.at-r2 { right: 0; top: 120px; }
.dgrid.at-l2 { left: 0; top: 200px; }
@media (max-width: 700px) { .dgrid { width: 38px; height: 96px; } .dgrid.at-l, .dgrid.at-l2, .dgrid.at-r2 { display: none; } }
@media (max-width: 420px) { .dgrid.at-r { display: none; } }

/* ── hero */
.hero { position: relative; padding-top: 150px; }
@media (max-width: 700px) { .hero { padding-top: 112px; } }
.rail { position: absolute; right: calc(var(--sh-pad) - 52px); top: 4px; display: none; flex-direction: column; align-items: center; gap: 22px; color: var(--g); }
@media (min-width: 1280px) { .rail { display: flex; } }
.rail-t { writing-mode: vertical-rl; font-size: 15px; letter-spacing: .02em; }
.rail-l { width: 1px; height: 64px; background: #BDBDBD; }
.rail-i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--g); color: #fff; }
.rail-i .ic { width: 13px; height: 13px; }

/* the composition: a green block, an outline frame, the laptop rising out of the block, a phone in front.
   All sizes are in cqw of .viz, so it scales as one picture. */
.viz { container-type: inline-size; margin-top: 64px; }
.stage { position: relative; height: 52cqw; }
.blk, .frm { position: absolute; display: block; }
.blk { left: 14cqw; top: 14cqw; width: 70cqw; height: 30cqw; border-radius: 2.6cqw; background: var(--g); }
.frm { left: 9cqw; top: 20cqw; width: 68cqw; height: 30cqw; border: max(3px, .36cqw) solid var(--ink); border-radius: 2.6cqw; }
.stage > .laptop { position: absolute; left: 18cqw; top: 7.6cqw; width: 60cqw; }
.stage > .phone { position: absolute; left: 73cqw; top: 15cqw; width: 15.5cqw; }
@media (max-width: 700px) {
  .stage { height: 90cqw; }
  .blk { left: 10cqw; top: 24cqw; width: 86cqw; height: 38cqw; }
  .frm { left: 3cqw; top: 31cqw; width: 82cqw; height: 38cqw; }
  .stage > .laptop { left: 1cqw; top: 18.3cqw; width: 72cqw; }
  .stage > .phone { left: 72cqw; top: 38cqw; width: 23cqw; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .stage .blk { transform: scale(.94); opacity: 0; transition: transform 1.1s cubic-bezier(.2,.7,.2,1), opacity .8s; }
  .js .stage .frm { transform: translate(3cqw, -3cqw); opacity: 0; transition: transform 1.2s cubic-bezier(.2,.7,.2,1) .15s, opacity .8s .15s; }
  .js .stage > .laptop { transform: translateY(5cqw); opacity: 0; transition: transform 1.2s cubic-bezier(.2,.7,.2,1) .25s, opacity .9s .25s; }
  .js .stage > .phone { transform: translateY(7cqw); opacity: 0; transition: transform 1.2s cubic-bezier(.2,.7,.2,1) .5s, opacity .9s .5s; }
  .js .stage.in .blk, .js .stage.in .frm, .js .stage.in > .laptop, .js .stage.in > .phone { transform: none; opacity: 1; }
}

/* ── devices: a thin-bezel laptop with an aluminium rim, an iPhone with a light titanium frame */
.laptop { position: relative; container-type: inline-size; }
.lid { position: relative; margin: 0 6cqw; padding: 1.55cqw 1.35cqw 1.75cqw; border-radius: 2.3cqw 2.3cqw .8cqw .8cqw; background: #0B0B0D;
  box-shadow: inset 0 0 0 .12cqw #2E2F33, 0 0 0 .2cqw #C9CBCF, 0 0 0 calc(.2cqw + 1px) #A3A6AB; }
.lid::before { content: ''; position: absolute; left: 50%; top: .56cqw; width: .42cqw; height: .42cqw; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3A3D44, #141518 70%); transform: translateX(-50%); }
.lid .scr { position: relative; overflow: hidden; border-radius: .7cqw .7cqw .25cqw .25cqw; background: #fff; }
.base { position: relative; height: 1.65cqw; margin-top: .2cqw; border-radius: .25cqw .25cqw 2.8cqw 2.8cqw / .25cqw .25cqw 1.3cqw 1.3cqw;
  background: linear-gradient(#F6F7F8 0, #E4E5E8 24%, #CDCED2 62%, #A9ABB0); box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), inset 0 -1px 0 rgb(0 0 0 / .12); }
.base::before { content: ''; position: absolute; left: 50%; top: 0; width: 11cqw; height: .5cqw; border-radius: 0 0 .7cqw .7cqw; background: linear-gradient(#BCBEC2, #D8D9DC); transform: translateX(-50%); }
.base::after { content: ''; position: absolute; z-index: -1; left: 3%; right: 3%; top: 60%; height: 3cqw; border-radius: 50%; background: radial-gradient(50% 50% at 50% 30%, rgb(17 17 17 / .3), rgb(17 17 17 / 0) 100%); filter: blur(.5cqw); }

/* the phone: .phone is the size, its screen carries the black bezel, ::before is the titanium frame,
   ::after the side buttons (only their ends show past the frame). cqw here are the phone's own width. */
.phone { position: relative; container-type: inline-size; isolation: isolate; }
.phone::before { content: ''; position: absolute; z-index: -1; inset: -1.45cqw; border-radius: 15.95cqw;
  background: linear-gradient(150deg, #E9EAEC 0, #C3C5C9 28%, #E1E2E4 52%, #AEB0B5 78%, #D6D7DA);
  box-shadow: 0 0 0 1px rgb(120 123 130 / .55), 0 2px 4px rgb(17 17 17 / .06), 0 34px 56px -26px rgb(17 17 17 / .4); }
.phone::after { content: ''; position: absolute; z-index: -2; left: -2.3cqw; right: -2.3cqw; top: 46cqw; height: 46cqw;
  background:
    linear-gradient(#B9BBBF, #B9BBBF) left 0 top 0 / 2.4cqw 9cqw no-repeat,
    linear-gradient(#B9BBBF, #B9BBBF) left 0 top 14cqw / 2.4cqw 14cqw no-repeat,
    linear-gradient(#B9BBBF, #B9BBBF) left 0 top 31cqw / 2.4cqw 14cqw no-repeat,
    linear-gradient(#B9BBBF, #B9BBBF) right 0 top 18cqw / 2.4cqw 22cqw no-repeat; }
.phone .scr { position: relative; overflow: hidden; border: 2.5cqw solid #0A0A0B; border-radius: 14.5cqw; background: #fff; isolation: isolate; box-shadow: 0 0 0 .3cqw #26272B; }
.phone .scr::before { content: ''; position: absolute; z-index: 3; left: 50%; top: 2.5cqw; width: 30.5cqw; height: 8.9cqw; border-radius: 5cqw; background: #050506; transform: translateX(-50%); }

/* a fixed-width product canvas scaled to its screen (case.js sets --k and the height) */
.fit { position: relative; overflow: hidden; }
.fit > .ui { position: absolute; top: 0; left: 0; transform-origin: 0 0; transform: scale(var(--k, 1)); }

/* ── in numbers */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 120px; }
.stats > div { display: grid; align-content: start; justify-items: start; padding: 0 0 0 clamp(16px, 5vw, 72px); border-left: 1px solid #CFCFCF; }
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats b { font: 500 clamp(30px, 4vw, 48px)/1 var(--pop); color: var(--g); letter-spacing: -.01em; }
.stats span { margin-top: 18px; font-size: clamp(14px, 1.6vw, 20px); line-height: 1.4; color: var(--ink-2); }
@media (min-width: 900px) { .stats > div:nth-child(2) { justify-self: center; } .stats > div { width: 100%; } }
@media (max-width: 520px) { .stats { margin-top: 88px; } .stats span { margin-top: 10px; } }

/* ── sections */
.sec { position: relative; padding-top: 160px; }
@media (max-width: 700px) { .sec { padding-top: 112px; } }

.facts { display: flex; flex-wrap: wrap; gap: 18px 44px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin-top: 2px; font-size: 16px; font-weight: 500; }
.facts .live { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 520px) { .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; } }
.facts .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 4px rgb(0 166 154 / .16); }

/* my role: three cards, the middle one stepped down */
.skills { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 72px; padding-bottom: 64px; }
.skills::before { content: ''; position: absolute; inset: -40px 6% 0; z-index: -1; border-radius: 80px; background: radial-gradient(closest-side, rgb(17 17 17 / .035), transparent); filter: blur(20px); }
.skills li { padding: 30px 28px 32px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.skills li:nth-child(2) { transform: translateY(64px); }
.skills .ic { width: 30px; height: 30px; color: var(--g); stroke-width: 1.5; }
.skills b { display: block; margin-top: 22px; font: 500 20px/1.3 var(--pop); letter-spacing: -.01em; }
.skills p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: #555; }
@media (max-width: 900px) {
  .skills { grid-template-columns: 1fr; gap: 16px; padding-bottom: 0; max-width: 520px; }
  .skills li:nth-child(2) { transform: none; margin-left: clamp(0px, 8vw, 48px); }
  .skills li { display: grid; grid-template-columns: 30px 1fr; gap: 0 18px; padding: 24px 22px; }
  .skills li .ic { grid-row: span 2; }
  .skills b { margin-top: 0; font-size: 18px; }
  .skills p { margin-top: 6px; }
}

/* research: the report in a laptop, five rules under it */
.desk { position: relative; margin-top: 72px; padding: 0 clamp(0px, 5vw, 70px); }
.desk::before { content: ''; position: absolute; left: 0; right: 0; top: 22%; bottom: -36px; border-radius: 36px; background: var(--g-50); }
.desk .laptop { max-width: 980px; margin: 0 auto; }
@media (max-width: 700px) { .desk { padding: 0; margin-top: 56px; } .desk::before { top: 30%; bottom: -24px; border-radius: 24px; } .desk .report { --pin: 17px; } }
.rules { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 76px; }
.rules button { display: grid; align-content: start; height: 100%; width: 100%; padding: 22px 18px 24px; border-radius: 20px; text-align: left; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .3s cubic-bezier(.2,.7,.2,1); }
.rules .rn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #F1F1F1; font: 500 14px var(--pop); color: var(--ink-2); transition: background-color .3s, color .3s; }
.rules b { margin-top: 16px; font: 500 16px/1.3 var(--pop); letter-spacing: -.01em; }
.rules button > span:last-child { margin-top: 8px; font-size: 14px; line-height: 1.5; color: #5A5A5A; }
.rules button:hover { box-shadow: 0 0 0 1px #DADADA; }
.rules button.on { box-shadow: var(--shadow); transform: translateY(-6px); }
.rules button.on .rn { background: var(--g); color: #fff; }
.rules button:focus-visible { outline: 2px solid var(--g); outline-offset: 2px; }
@media (max-width: 1000px) {
  .rules { grid-template-columns: 1fr; gap: 8px; margin-top: 64px; max-width: 560px; }
  .rules button { grid-template-columns: 32px 1fr; gap: 2px 14px; padding: 16px 16px 18px; }
  .rules .rn { grid-row: span 2; }
  .rules b { margin-top: 5px; }
  .rules button > span:last-child { margin-top: 2px; }
  .rules button.on { transform: none; }
}

/* screens: phones in a row that runs off the right edge */
.car { --bleed: max(var(--sh-pad), (100vw - var(--max)) / 2); margin-top: 40px; }
.track { display: flex; gap: 44px; margin: 0 calc(-1 * var(--bleed)) 0 -24px; padding: 40px var(--bleed) 30px 24px; scroll-padding-left: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: 0; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: none; width: 262px; scroll-snap-align: start; }
.slide .phone { width: 100%; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.slide .phone::before { box-shadow: 0 0 0 1px rgb(120 123 130 / .55), 0 2px 4px rgb(17 17 17 / .05), 0 26px 40px -24px rgb(17 17 17 / .38); }
.slide:hover .phone { transform: translateY(-8px); }
.s-cap { display: flex; align-items: baseline; gap: 10px; margin-top: 30px; font: 500 18px/1.3 var(--pop); letter-spacing: -.01em; }
.s-cap span { font-size: 14px; color: var(--g); }
.s-txt { margin-top: 8px; font-size: 15px; line-height: 1.55; color: #555; }
@media (max-width: 700px) { .slide { width: min(64vw, 250px); } .track { gap: 28px; } }
@media (min-width: 1100px) {
  .track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin: 0; padding: 40px 0 30px; overflow: visible; }
  .slide { width: auto; }
}
.car-ctl { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.sq { display: flex; align-items: center; gap: 10px; }
.sq button { position: relative; width: 22px; height: 22px; }
.sq button::before { content: ''; position: absolute; inset: 5px; border-radius: 4px; background: #CFCFCF; transition: background-color .25s; }
.sq button::after { content: ''; position: absolute; inset: 0; border: 1.5px solid #CFCFCF; border-radius: 7px; opacity: 0; transition: opacity .25s; }
.sq button.on::before { background: var(--g); }
.sq button.on::after { opacity: 1; }
.arr { display: flex; gap: 10px; }
.arr button { display: grid; place-items: center; width: 44px; height: 36px; color: var(--ink); transition: color .2s, transform .2s; }
.arr button:disabled { color: #C4C4C4; cursor: default; }
.arr .ic { width: 34px; height: 24px; stroke-width: 1.5; }
.arr .prev:not(:disabled):hover { transform: translateX(-3px); }
.arr .next:not(:disabled):hover { transform: translateX(3px); }
.hint { margin-top: 18px; font-size: 13px; color: var(--muted); }

.end-space { height: 200px; }


/* ── product UI (the app, rebuilt in English, left to right) */
.ui { font: 400 14px/1.45 var(--ui-font); color: var(--ui-ink); font-feature-settings: 'tnum' 1, 'cv11' 1; letter-spacing: -.003em; }
.ui .num { font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ui .num small { font-size: .55em; font-weight: 500; color: var(--ui-3); margin-left: 1px; letter-spacing: 0; }
.ui .cap { font-size: 13px; color: var(--ui-2); }
.ui .card { position: relative; background: #fff; border-radius: 20px; box-shadow: 0 0 0 1px var(--ui-line); }

.bar { position: relative; display: block; height: 6px; border-radius: 3px; background: var(--ui-muted); overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--v, 0) * 100%); border-radius: 3px; background: var(--ui-brand); transform-origin: 0 50%; }
.bar.good i { background: var(--ui-green); }
.bar.warm i { background: var(--ui-orange); }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 10px; background: var(--ui-brand); color: #fff; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.btn.ghost { background: #fff; color: var(--ui-brand); box-shadow: inset 0 0 0 1px var(--ui-brand-100); }
.lvl { margin-left: 6px; padding: 1px 7px; border-radius: 6px; font-style: normal; font-size: 11.5px; font-weight: 600; }
.lvl.warm { color: var(--ui-orange-ink); background: var(--ui-orange-50); }
.lvl.good { color: var(--ui-brand); background: var(--ui-brand-50); }

/* desktop app shell, 1280 wide */
.app { width: 1280px; min-height: 800px; background: #fff; }
.app-top { display: flex; align-items: center; gap: 44px; height: 64px; padding: 0 48px; border-bottom: 1px solid var(--ui-line); }
.app-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.app-logo img { width: 20px; height: auto; }
.app-nav { display: flex; gap: 8px; height: 100%; }
.app-nav b { display: flex; align-items: center; padding: 0 12px; font-weight: 500; color: var(--ui-2); border-bottom: 2px solid transparent; }
.app-nav b.on { color: var(--ui-ink); border-color: var(--ui-brand); }
.app-tools { margin-left: auto; display: flex; align-items: center; gap: 16px; color: var(--ui-brand); }
.app-tools .ic { width: 18px; height: 18px; }
.ava { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ui-brand-50); color: var(--ui-brand); font-size: 12px; font-weight: 600; }

/* home: the list of valuation files */
.d-body { padding: 28px 48px 40px; }
.d-stats { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 48px; padding: 22px 32px; border-radius: 24px; background: linear-gradient(180deg, #fff, #F8F9F9); box-shadow: 0 0 0 1px var(--ui-line); }
.d-stats .cap { display: block; font-size: 12.5px; }
.d-stats b { display: block; margin-top: 4px; font-size: 20px; }
.d-q b { font-size: 15px; }
.d-kpis { display: flex; justify-content: center; gap: 56px; }
.d-kpis b { color: var(--ui-brand); }
.d-last b { font-size: 14px; font-weight: 500; margin: 2px 0; }
.d-title { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; }
.d-title > b { font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.d-title .btn { height: 44px; padding: 0 20px; font-size: 14.5px; }
.d-title .btn .ic { width: 17px; height: 17px; }
.d-table { margin-top: 22px; border-radius: 20px; box-shadow: 0 0 0 1px var(--ui-line); overflow: hidden; }
.d-tools { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--ui-line); }
.d-tabs { display: flex; gap: 6px; }
.d-tabs b { padding: 6px 14px; border-radius: 999px; font-weight: 500; font-size: 13px; color: var(--ui-2); }
.d-tabs b.on { background: var(--ui-brand); color: #fff; }
.d-search { display: flex; align-items: center; gap: 8px; width: 240px; height: 34px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ui-line); color: var(--ui-3); font-size: 13px; }
.d-search .ic { width: 14px; height: 14px; }
.d-row { display: grid; grid-template-columns: 44px 120px 1.5fr 1.4fr 1fr 1fr 120px; align-items: center; height: 46px; padding: 0 16px; border-top: 1px solid #F1F1F1; font-size: 13.5px; }
.d-row > span:first-child { color: var(--ui-3); }
.d-row.d-head { height: 40px; border-top: 0; background: #FAFAFA; font-size: 12.5px; font-weight: 500; color: var(--ui-2); }
.d-row.hov { background: #F7FAFA; }
.st { display: inline-block; padding: 3px 9px; border-radius: 6px; font-style: normal; font-size: 12px; font-weight: 500; }
.st.paid { background: var(--ui-green); color: #fff; }
.st.done { background: #ECEEF0; color: #5F6368; }
.st.prog { background: var(--ui-blue); color: #fff; }

/* report */
.app-body { padding: 22px 48px 40px; background: linear-gradient(#fff, #FBFBFA); }
.back-ui { display: inline-flex; align-items: center; gap: 2px; color: var(--ui-3); font-size: 13px; }
.back-ui .ic { width: 15px; height: 15px; }
.rep-head { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: 'badge id val' 'badge id btns'; align-items: center; gap: 6px 28px; margin-top: 14px; padding: 26px 32px; border-radius: 28px; background: linear-gradient(100deg, var(--ui-brand-50) 0 62%, #F2FAF9 62%); }
.rep-badge { grid-area: badge; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: linear-gradient(150deg, #00BDB0, #05857B); color: #fff; font-size: 32px; font-weight: 700; letter-spacing: -.02em; box-shadow: 0 10px 24px -10px rgb(5 133 123 / .6); }
.rep-id { grid-area: id; }
.rep-name { display: block; font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.rep-meta { display: block; margin-top: 6px; color: var(--ui-2); font-size: 14px; }
.rep-val { grid-area: val; justify-self: end; text-align: right; }
.rep-val .cap { display: block; font-size: 12.5px; }
.rep-val .num.xl { font-size: 40px; line-height: 1.1; color: var(--ui-ink); }
.rep-btns { grid-area: btns; display: flex; gap: 8px; justify-content: flex-end; margin-top: 6px; }
.rep-row { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr 1.3fr; margin-top: 18px; border: 1px solid var(--ui-line); border-radius: 20px; background: #fff; }
.rep-row .kpi { position: relative; padding: 18px 24px 20px; border-left: 1px solid var(--ui-line); }
.rep-row .kpi:first-child { border-left: 0; }
.kpi .cap { display: flex; align-items: center; }
.kpi .num { display: block; margin-top: 4px; font-size: 22px; }
.kpi.score .bar { margin-top: 10px; }
.rep-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; margin-top: 18px; align-items: start; }
.r2-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; }
.r2-head b { display: block; font-size: 16px; font-weight: 600; }
.r2-sub { display: block; font-size: 13px; color: var(--ui-2); margin-top: 2px; }
.r2-head .chev { width: 20px; height: 20px; color: var(--ui-brand); transform: rotate(180deg); }
.r2-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'name val' 'bar bar' 'in in'; gap: 6px 16px; margin: 0 24px; padding: 13px 0; border-top: 1px solid var(--ui-line); }
.r2-row > span:first-child { grid-area: name; }
.r2-row .num { grid-area: val; font-size: 16px; }
.r2-row .bar { grid-area: bar; height: 4px; }
.r2-row em { grid-area: in; font-style: normal; font-size: 12px; color: var(--ui-3); }
.r2-row:last-child { padding-bottom: 18px; }
.rep-side { display: grid; gap: 18px; }
.rec { padding: 20px 22px; background: linear-gradient(160deg, #F2FBFA, #fff 70%); }
.rec .tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--ui-brand-50); color: var(--ui-brand); font-size: 12px; font-weight: 600; }
.rec .tag .ic { width: 13px; height: 13px; }
.rec p { margin-top: 12px; font-size: 16px; line-height: 1.45; }
.rec p b { color: var(--ui-brand); font-weight: 600; }
.rec-go { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ui-brand); }
.ratios { padding: 18px 22px 20px; }
.r4-title { display: block; font-weight: 600; font-size: 15px; }
.r4-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
.term { padding: 0 12px; border-left: 1px solid var(--ui-line); }
.term:first-child { padding-left: 0; border-left: 0; }
.term .cap { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; }
.term u { text-decoration: underline dotted var(--ui-3); text-underline-offset: 4px; }
.term .ic { width: 13px; height: 13px; color: var(--ui-brand); }
.term .num { display: block; margin-top: 4px; font-size: 22px; }
.ratios .tip { display: block; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--ui-ink); color: #fff; font-size: 12.5px; line-height: 1.45; }

/* the five rules on the report: a pin per rule, the chosen part outlined */
.report [data-rule]:not(.pin) { transition: box-shadow .35s, opacity .35s; }
.report.focus [data-rule]:not(.hl):not(.pin) { opacity: .45; }
.report { --pin: 26px; }
.report [data-rule].hl { box-shadow: 0 0 0 calc(var(--pin) * .11 / var(--k, 1)) var(--g), 0 0 0 calc(var(--pin) * .34 / var(--k, 1)) rgb(0 166 154 / .16); border-radius: 14px; }
.rep-val.hl { border-radius: 10px; }
.pin { position: absolute; z-index: 5; left: 0; top: 0; display: grid; place-items: center; width: calc(var(--pin) / var(--k, 1)); height: calc(var(--pin) / var(--k, 1)); margin: calc(var(--pin) / -2 / var(--k, 1)) 0 0 calc(var(--pin) / -2 / var(--k, 1)); border-radius: 50%; background: #fff; color: var(--g-ink); font: 600 calc(var(--pin) * .46 / var(--k, 1))/1 var(--pop); box-shadow: 0 0 0 calc(1.5px / var(--k, 1)) var(--g), 0 calc(6px / var(--k, 1)) calc(14px / var(--k, 1)) calc(-6px / var(--k, 1)) rgb(0 0 0 / .3); transition: background-color .3s, color .3s, transform .35s cubic-bezier(.2,.7,.2,1); }
.pin.on { background: var(--g); color: #fff; transform: scale(1.15); }

/* phone screens, 390 wide */
.m { position: relative; display: flex; flex-direction: column; align-items: stretch; width: 390px; height: 844px; overflow: hidden; background: #fff; font-size: 15px; }
.m-top { position: relative; z-index: 2; flex: none; padding-bottom: 6px; background: #fff; transition: box-shadow .25s; }
.m-body { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: 16px; scrollbar-width: none; overscroll-behavior-x: none; }
.m-body::-webkit-scrollbar { display: none; }
.m.scrolled .m-top { box-shadow: 0 1px 0 #EDEDED; }
.m-status { display: flex; justify-content: space-between; align-items: center; height: 54px; padding: 8px 30px 0 40px; }
.m-status b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.m-status > span { display: flex; align-items: center; gap: 6px; }
.sb { width: 15px; height: 15px; fill: currentColor; }   /* Feather status icons, square */
.m-prog { display: grid; grid-template-columns: 24px 1fr 24px; align-items: center; gap: 12px; padding: 10px 20px 0; color: var(--ui-2); }
.m-prog .ic { width: 22px; height: 22px; }
.m-prog .ic:last-child { justify-self: end; }
.m-cnt { display: grid; justify-items: center; gap: 8px; font-size: 13px; }
.m-track { position: relative; display: block; width: 200px; height: 6px; border-radius: 3px; background: #EEF0F2; overflow: hidden; }
.m-track i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); border-radius: 3px; background: var(--ui-brand); }
.m-h { margin: 20px 20px 0; font-size: 30px; font-weight: 700; line-height: 1.15; letter-spacing: -.03em; }
.m-sub { margin: 10px 20px 0; font-size: 15px; line-height: 1.5; color: var(--ui-2); }
.m-card { margin: 18px 16px 0; padding: 20px 14px; border-radius: 24px; box-shadow: 0 0 0 1px #ECECEC; }
.m-card + .m-card { margin-top: 16px; }
.fld { display: flex; align-items: center; gap: 3px; height: 56px; padding: 0 16px; border-radius: 12px; background: var(--ui-field); color: #8A8A8A; font-size: 15px; }
.fld + .fld { margin-top: 14px; }
.fld i { font-style: normal; color: #E5484D; }
.fld.dd .ic { margin-left: auto; width: 16px; height: 16px; color: var(--ui-2); }
.m-sec { margin: 4px 2px 12px; font-size: 14px; font-weight: 600; color: var(--ui-ink); }
.fld + .m-sec, .upl + .m-sec, .doc + .m-sec { margin-top: 26px; }
.m-foot { position: relative; z-index: 2; flex: none; display: grid; gap: 10px; padding: 12px 16px 34px; background: #fff; }
.m-foot::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 36px; background: linear-gradient(rgb(255 255 255 / 0), #fff); opacity: 0; pointer-events: none; transition: opacity .25s; }
.m.more .m-foot::before { opacity: 1; }
.m-foot::after { content: ''; position: absolute; left: 50%; bottom: 9px; width: 136px; height: 5px; border-radius: 3px; background: #111; transform: translateX(-50%); }   /* home indicator */
.mb { display: grid; place-items: center; height: 44px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.mb.light { background: var(--ui-brand-50); color: var(--ui-brand); }
.mb.dark { background: var(--ui-brand); color: #fff; }
.m-t { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; margin: 0 2px; }
.m-note { margin: 8px 2px 20px; font-size: 14px; line-height: 1.5; color: var(--ui-2); }
.m-tiny { margin: -6px 2px 6px; font-size: 12px; color: var(--ui-3); }
.doc { display: grid; grid-template-columns: 18px 1fr auto auto 18px; align-items: center; gap: 8px; padding: 14px 2px; border-bottom: 1px solid #EFEFEF; font-size: 14px; }
.doc .ic { width: 17px; height: 17px; color: var(--ui-2); }
.doc .tr { color: var(--ui-brand); }
.chip-s { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: #F1F2F4; font-style: normal; font-size: 11.5px; color: var(--ui-2); }
.chip-s.ok { background: var(--ui-brand-50); color: var(--ui-brand); font-weight: 500; }
.chip-s .ic { width: 12px; height: 12px; color: currentColor; stroke-width: 2.4; }
.upl { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; box-shadow: inset 0 0 0 1px #DADADA; font-size: 14px; font-weight: 500; }
.upl .ic { width: 16px; height: 16px; }
.m-ready { display: grid; justify-items: start; padding: 20px; }
.m-ill { width: 77px; height: 56px; justify-self: center; }
.m-ready b { margin-top: 14px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.m-ready p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--ui-2); }
.m-list { padding: 8px 18px; }
.m-li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 9px 0; }
.m-li + .m-li { border-top: 1px solid #F1F1F1; }
.m-li .ok { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ui-brand-50); color: var(--ui-brand); }
.m-li .ok .ic { width: 17px; height: 17px; stroke-width: 2.4; }
.m-li span { display: grid; font-size: 13.5px; color: var(--ui-2); }
.m-li span b { font-size: 15px; font-weight: 600; color: var(--ui-ink); }
.m-li em { font-style: normal; font-size: 14px; font-weight: 500; color: var(--ui-brand); }

/* a screen longer than the phone scrolls inside it (wheel, trackpad, drag, touch); a thin iOS-style indicator shows while it moves */
.m-ind { position: absolute; z-index: 3; right: 4px; top: 0; width: 5px; border-radius: 3px; background: rgb(17 17 17 / .32); opacity: 0; pointer-events: none; transition: opacity .3s; }
.m.moving .m-ind, .slide:hover .m-ind { opacity: 1; }
.m-body.can-drag { cursor: grab; user-select: none; }
.m-body.dragging { cursor: grabbing; }


/* ── motion: blocks settle in once as they enter */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
  .js .rise.in { opacity: 1; transform: none; }
  .js .skills li.rise:nth-child(2) { transform: translateY(88px); }
  .js .skills li.rise.in:nth-child(2) { transform: translateY(64px); }
  .js .skills li:nth-child(2) { transition-delay: .12s; }
  .js .skills li:nth-child(3) { transition-delay: .24s; }
  .js .bar i { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2,.7,.2,1) .3s; }
  .js .in .bar i { transform: none; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 900px) {
  .js .skills li.rise:nth-child(2), .js .skills li.rise.in:nth-child(2) { transform: none; }
  .js .skills li.rise:nth-child(2):not(.in) { transform: translateY(24px); }
}
