/* BASE landing, the page stylesheet. Ported from the owner-accepted prototype v5
   (17.11.2026) as is; only the prototype-only parts are gone (the build switch and
   the toast that answered stubbed links). The legal pages keep css/style.css: this
   file is the landing's alone, so editing it never re-keys them (INF-SITE/H5).
   Every file it pulls carries ?v=N: /assets/ is served immutable for 30 days. */
/* Type (v28, owner 19.11): the words are Onest, a number that stands alone is Unbounded, the word BASE is Outfit 700,
   Kristina's own words are Cormorant. Own subsets of the google/fonts files (OFL, the licences lie next to the files).
   Onest is one variable file per script, 400 to 800; Outfit carries only B, A, S and E */
@font-face{font-family:Onest;font-style:normal;font-weight:400 800;font-display:swap;src:url('../assets/fonts/onest-cyrillic.woff2?v=1') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:Onest;font-style:normal;font-weight:400 800;font-display:swap;src:url('../assets/fonts/onest-latin.woff2?v=1') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:Unbounded;font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/unbounded-400-digits.woff2?v=1') format('woff2');unicode-range:U+0020, U+0025, U+002B-002F, U+0030-0039, U+00A0, U+2009, U+2212}
@font-face{font-family:Outfit;font-style:normal;font-weight:700;font-display:swap;src:url('../assets/fonts/outfit-700-base.woff2?v=1') format('woff2');unicode-range:U+0041-0042, U+0045, U+0053}
/* while Onest is on its way the text stands in a local face scaled to Onest's average advance and line metrics, so the
   swap moves nothing (size-adjust scales the overrides too, hence ascent and descent divided by it). Arimo and
   Liberation Sans share Arial's metrics; the second face is for a phone that has Roboto and no Arial */
@font-face{font-family:'Onest Fallback';src:local('Arial'),local('ArialMT'),local('Arimo'),local('Liberation Sans');size-adjust:103.07%;ascent-override:94.11%;descent-override:29.59%;line-gap-override:0%}
@font-face{font-family:'Onest Fallback R';src:local('Roboto'),local('Roboto-Regular');size-adjust:102.23%;ascent-override:94.89%;descent-override:29.84%;line-gap-override:0%}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:400 500;font-display:swap;src:url('../assets/fonts/cormorant-garamond-italic-cyrillic.woff2?v=1') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:400 500;font-display:swap;src:url('../assets/fonts/cormorant-garamond-italic-latin.woff2?v=1') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* Two grounds, one system. Night is the app's own graphite; stone is the paper the studio series was shot on.
   Every act opens with the same device: a four-letter word and the thing that stands inside it. */
:root{
  color-scheme:dark;
  --night:#181516; --deep:#100E0F; --raise:#221E20; --card:#2A2527;
  --bone:#F2EFEB; --bone2:#C5BDBF; --bone3:#968E90;
  --stone:#E3DDD8; --ink:#1B1819; --ink2:#51494C; --ink3:#645B5E;
  --rose:#F4729B; --dusty:#E296AC; --blush:#F5D0DE; --plum:#A93767; --on-rose:#1F1B1C;
  --sans:Onest,'Onest Fallback','Onest Fallback R',system-ui,-apple-system,"Segoe UI",sans-serif;
  --num:Unbounded,var(--sans);
  --word:Outfit,var(--sans);
  --voice:"Cormorant Garamond",Georgia,serif;
  --ease:cubic-bezier(.16,1,.3,1); --ease2:cubic-bezier(.7,0,.2,1);
  /* A full-screen composition (the cover, the stage of the five scenes, Kristina, the close) grows with the window as one
     piece, never its ground alone. --u is one pixel of it: 1px up to a window 1100 tall, so the accepted look stays pixel
     for pixel; on a taller window it is window/1100 while the column still fits the width (a tall narrow window, half
     of a big monitor, would push the words onto the figure), until the cover's figure reaches the photo's own 1360 px
     (hero.webp is 772x1360, there is no larger source). Wherever it stops, the compositions stand in the middle of the
     screen: --lift is the dark field left under and over them. The page keeps ONE grid: the column (--col) and the
     gutter (--g) grow with --u everywhere, header included, so the words of a composition and of a plain section start
     on the same edge; the type of the plain sections does not grow. No zoom of the whole page: it would break svh,
     sticky and the rectangles the scroll script measures */
  --u:clamp(1px,min(calc(100svh / 1100),calc(100vw / 1480)),calc(1360px / 960));
  --lift:max(0px,calc((100svh - var(--u) * 1100) / 2));
  --g:clamp(20px,5vw,calc(var(--u) * 84));
  --col:calc(var(--u) * 1480);
  --hdr:64px;
  scroll-behavior:smooth;
}
*,*::before,*::after{box-sizing:border-box}
::selection{background:var(--rose);color:var(--on-rose)}
body{margin:0;background:var(--night);color:var(--bone);font:400 17px/1.55 var(--sans);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:clip}
.page{position:relative;background:var(--night);overflow-x:clip}
h1,h2,h3,p,ul,ol,dl,dd,figure,blockquote{margin:0;padding:0}
ul,ol{list-style:none}
img,video,svg{display:block;max-width:100%}
img,video{height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-align:inherit}
:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:6px}
.wrap{width:100%;max-width:var(--col);margin-inline:auto;padding-left:max(var(--g),env(safe-area-inset-left,0px));padding-right:max(var(--g),env(safe-area-inset-right,0px))}
.skip{position:fixed;left:16px;top:calc(12px + env(safe-area-inset-top,0px));z-index:120;padding:12px 16px;border-radius:12px;background:var(--bone);color:var(--on-rose);font-weight:700;transform:translateY(-200%)}
.skip:focus{transform:none}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.page[data-build="yes"] [data-when="no"],.page[data-build="no"] [data-when="yes"]{display:none!important}
section[id]{scroll-margin-top:calc(var(--hdr) + 8px)}

/* grounds: a section names its ground, everything inside reads the local ink */
.night{--bg:var(--night);--fg:var(--bone);--fg2:var(--bone2);--fg3:var(--bone3);--hair:rgba(242,239,235,.13);--hair2:rgba(242,239,235,.24);background:var(--bg);color:var(--fg)}
.stone{--bg:var(--stone);--fg:var(--ink);--fg2:var(--ink2);--fg3:var(--ink3);--hair:rgba(27,24,25,.15);--hair2:rgba(27,24,25,.32);background:var(--bg);color:var(--fg);color-scheme:light}
.act{position:relative;z-index:2}
/* film grain lies over the whole act, photos included, so paper and print share one surface */
.act::after{content:"";position:absolute;inset:0;z-index:9;pointer-events:none;opacity:.05;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.stone.act::after{opacity:.075;filter:invert(1)}
/* a sheet arrives with a bowed edge that flattens as it lands */
/* the bow is the same gesture as on a 1920 screen and no deeper (8.5vw = 163.2px there): on an ultrawide or a 4K it would
   bend 200-300 px into the act above it */
.arc{position:absolute;left:-12%;right:-12%;bottom:calc(100% - 1px);height:calc(var(--arc,0) * min(8.5vw,163.2px));background:var(--bg);border-radius:50% 50% 0 0/100% 100% 0 0;pointer-events:none;overflow:hidden}
.arc::after{content:"";position:absolute;inset:0 0 1px 0;opacity:.05;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.stone>.arc::after{opacity:.075;filter:invert(1)}

/* the mark */
.wm{width:38px;height:auto;color:var(--rose)}
/* the big rings are canvases fed by two ready-made textures (js/main.js, initMarks): an SVG ring with blurred masks
   was blurred again on every frame, and a phone drew it 5-8 times a second (owner, Pixel 9, 17.11) */
.mk{display:block;width:100%;aspect-ratio:136/72}
.page:not(.is-js) .cover__ring{aspect-ratio:136/72;background:url("../assets/mark-track.webp?v=1") center/100% 100% no-repeat}
/* the mark of the header is the same living sign as on the cover, on a small canvas of its own (owner, 17.11: the
   branded sign, not a generic outline). The plain outline under it is what stays without JS or until the textures arrive */
.sig{position:relative;display:block;width:54px;aspect-ratio:136/72;margin-block:-8px}
.sig__s{position:absolute;left:5.9%;top:11.1%;width:88.2%;height:auto;color:var(--rose)}
.sig .mk{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}
.sig.mk-on .sig__s{visibility:hidden}
.top[data-tone="stone"] .sig .mk{filter:brightness(.62) saturate(1.5)}

/* type */
.h2{font:700 clamp(36px,5.7vw,88px)/.98 var(--sans);letter-spacing:-.035em}
.lede{font-size:clamp(17px,1.45vw,20px);color:var(--fg2);max-width:44ch}
.voice{font-family:var(--voice);font-style:italic;font-weight:500;letter-spacing:-.005em}
/* headings rise line by line out of their own baseline */
.l{display:block;overflow:hidden;padding:.16em 0 .1em;margin:-.16em 0 -.1em}
.l>span{display:block}
.is-js [data-rv] .l>span{transform:translateY(112%);transition:transform 1.1s var(--ease)}
.is-js [data-rv] .l:nth-child(2)>span{transition-delay:.09s}
.is-js [data-rv] .l:nth-child(3)>span{transition-delay:.18s}
.is-js [data-rv].in .l>span{transform:none}

/* buttons: one action colour */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 30px 2px;border-radius:15px;font:700 13px/1 var(--sans);letter-spacing:.09em;text-transform:uppercase;white-space:nowrap;transition:transform .35s var(--ease),background-color .2s,border-color .2s,color .2s}
.btn:active{transform:scale(.98)}
.btn--rose{background:var(--rose);color:var(--on-rose)}
.btn--rose:hover{background:#F78DB0}
.btn--line{border:1px solid var(--hair2);color:inherit}
.btn--line:hover{border-color:currentColor}
.btn--sm{min-height:42px;padding:0 18px 1px;border-radius:13px;font-size:12px}

/* intro: the mark, then the curtain */
.intro{position:fixed;inset:0;z-index:110;background:var(--deep);display:grid;place-items:center;pointer-events:none;animation:introOut .95s var(--ease2) 1.2s both}
.intro__mark{width:min(230px,52vw);animation:introMark 1s var(--ease) both}
@keyframes introOut{to{transform:translateY(-101%);visibility:hidden}}
@keyframes introMark{from{opacity:0;transform:scale(.84)}to{opacity:1;transform:none}}
.page{--d0:1.35s}
.page.no-intro{--d0:.1s}
.no-intro .intro{display:none}

/* header + reading thread */
.thread{position:fixed;left:0;right:0;top:env(safe-area-inset-top,0px);height:2px;z-index:72;transform-origin:0 50%;transform:scaleX(var(--p,0));background:linear-gradient(90deg,var(--plum),var(--rose) 60%,var(--blush))}
.top{position:fixed;left:0;right:0;top:0;z-index:70;padding-top:env(safe-area-inset-top,0px);color:var(--bone);--hair2:rgba(242,239,235,.26);transition:background-color .35s,border-color .35s,color .35s;border-bottom:1px solid transparent}
.top.is-solid{background:rgba(24,21,22,.72);-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2);border-bottom-color:rgba(242,239,235,.1)}
.top[data-tone="stone"]{color:var(--ink);--hair2:rgba(27,24,25,.34)}
.top[data-tone="stone"].is-solid{background:rgba(227,221,216,.78);border-bottom-color:rgba(27,24,25,.1)}
.top__in{height:var(--hdr);display:flex;align-items:center;gap:30px}
.brand{display:inline-flex;align-items:center;gap:9px;font:700 19px/1 var(--word);letter-spacing:.16em;margin-right:auto}
.top__nav{display:none;gap:30px;font-size:14.5px}
.top__nav a{position:relative;padding:10px 0;opacity:.74;transition:opacity .2s}
.top__nav a::after{content:"";position:absolute;left:0;right:0;bottom:5px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:100% 50%;transition:transform .45s var(--ease)}
.top__nav a:hover{opacity:1}
.top__nav a:hover::after{transform:scaleX(1);transform-origin:0 50%}
@media (min-width:1020px){.top__nav{display:flex}}

/* ================= act 1, night: the cover ================= */
/* The first screen is a poster: exactly as tall as the window on every screen, with no ceiling (owner, 17.11: under a
   cover capped at 1100 px a 2K and a 4K monitor showed the next sheet, and its bow rode over the words). Every size of
   the composition is in --u (see :root); where --u stops (the photo's 1360 px on a 4K, the width of a tall narrow window)
   the composition is centred in the window (--lift) */
.cover,.cover__over{--hh:max(600px,100svh)}
.cover{position:sticky;top:min(0px,calc(100svh - var(--hh)));z-index:1;height:var(--hh);display:flex;align-items:flex-end;overflow:clip;isolation:isolate;
  /* --s is the figure's height; the word is drawn in the figure's own coordinates, so the two never drift apart */
  --s:min(calc(var(--hh) * .76),calc((100vw - 28px) * 1.6076),1360px);--ar:0.6220;--il:10.832%;--iw:91.255%;--rw:212vw;--ry:45%;--fb:calc(var(--hh) * .14)}
/* the words of the cover are not pinned with the figure: they lie over it in a layer of their own and scroll with the page,
   so the next sheet meets them like any other text and never rides over them (owner, 17.11) */
.cover__over{position:relative;z-index:1;height:var(--hh);margin-top:calc(var(--hh) * -1);display:flex;align-items:flex-end;background:none;pointer-events:none}
.cover__over a{pointer-events:auto}
.cover::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(70% 46% at 50% 40%,rgba(169,55,103,.36),rgba(169,55,103,.08) 55%,transparent 75%),linear-gradient(var(--deep),var(--night))}
.cover::after{content:"";position:absolute;inset:0;z-index:8;pointer-events:none;background:var(--deep);opacity:calc(var(--hp,0) * .62);will-change:opacity}
.cover.is-off{visibility:hidden}
.glow{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:0;transition:opacity .6s;background:radial-gradient(calc(var(--u) * 520) circle at var(--mx,50%) var(--my,40%),rgba(244,114,155,.13),transparent 70%)}
.has-glow .glow{opacity:1}
.cover__ring{position:absolute;left:50%;top:var(--ry);width:var(--rw);transform:translate(-50%,-50%) scale(calc(1 + var(--hp,0) * .12));z-index:0;opacity:.9;will-change:transform}
.cover__lock{position:absolute;left:50%;bottom:var(--fb);height:var(--s);aspect-ratio:var(--ar);transform:translateX(-50%);z-index:1;pointer-events:none}
.lk{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.lk--d{display:none}
.lk .w{font-family:var(--sans);font-weight:700;letter-spacing:-.02em;transform-box:fill-box}
.cover .lk .w{font-family:var(--word);fill:var(--bone)}
.cover__fig{position:absolute;top:0;left:var(--il);width:var(--iw);height:100%;max-width:none;-webkit-mask-image:linear-gradient(#000 70%,transparent 100%);mask-image:linear-gradient(#000 70%,transparent 100%)}
.cover__shade{position:absolute;inset:auto 0 0 0;height:64%;z-index:3;background:linear-gradient(to top,var(--night) 8%,rgba(24,21,22,.9) 36%,rgba(24,21,22,.45) 64%,transparent)}
/* every size of the words is in --u: 1px on the accepted screens, a larger pixel on a tall one */
.cover__in{position:relative;z-index:4;display:flex;flex-direction:column;gap:calc(var(--u) * 22);padding-bottom:clamp(calc(var(--u) * 26),4.5svh,calc(var(--u) * 56));opacity:calc(1 - var(--hf,0));will-change:opacity}
.cover__over h1{font:500 calc(var(--u) * 15)/1.3 var(--sans);letter-spacing:.02em;color:var(--blush);margin-bottom:calc(var(--u) * 12)}
.cover__say{font-size:clamp(calc(var(--u) * 34),9.4vw,calc(var(--u) * 46));line-height:1.02;font-weight:500}
.cover__act{display:grid;gap:calc(var(--u) * 14)}
.cover__act .btn{width:100%;gap:calc(var(--u) * 10);min-height:calc(var(--u) * 56);padding:0 calc(var(--u) * 30) calc(var(--u) * 2);border-radius:calc(var(--u) * 15);font-size:calc(var(--u) * 13)}
.cover__tag{display:none;font-size:calc(var(--u) * 14);color:var(--bone2)}
.cover__fine{font-size:calc(var(--u) * 14);line-height:1.45;color:var(--bone2);max-width:36ch}
@media (min-width:860px){
  .cover{--s:min(calc(var(--hh) * .9),calc(var(--u) * 960),calc((100vw - 120px) * 0.8774));--ar:1.1398;--il:29.224%;--iw:49.803%;--rw:min(calc(var(--u) * 1260),82vw);--ry:calc(46% + var(--lift) * .08);--fb:var(--lift)}
  .lk--d{display:block}.lk--p{display:none}
  .cover__shade{height:calc(34% + var(--lift) * .32);background:linear-gradient(to top,var(--night) 4%,rgba(24,21,22,.55) 55%,transparent)}
  .cover__in{flex-direction:row;justify-content:space-between;align-items:flex-end;padding-bottom:calc(clamp(calc(var(--u) * 56),8svh,calc(var(--u) * 92)) + var(--lift))}
  .cover__say{font-size:clamp(calc(var(--u) * 38),3.7vw,calc(var(--u) * 56))}
  .cover__act{justify-items:end;text-align:right}
  .cover__act .btn{width:auto}
}
@media (min-width:1200px){.cover__tag{display:block}}
/* one orchestrated entrance, timed to the curtain */
@media (prefers-reduced-motion:no-preference){
  .cover .lk .w{animation:rise 1.15s var(--ease) var(--d0) both}
  .cover .lk .w2{animation-delay:calc(var(--d0) + .1s)}
  .cover__fig{animation:fig 1.4s var(--ease) calc(var(--d0) - .1s) both}
  .cover__ring{animation:glowIn 1.8s ease-out var(--d0) both}
  .cover__copy>*,.cover__act>*{animation:lift 1s var(--ease) both}
  .cover__copy>:nth-child(1){animation-delay:calc(var(--d0) + .45s)}.cover__copy>:nth-child(2){animation-delay:calc(var(--d0) + .53s)}
  .cover__act>:nth-child(1){animation-delay:calc(var(--d0) + .6s)}.cover__act>:nth-child(2){animation-delay:calc(var(--d0) + .66s)}.cover__act>:nth-child(3){animation-delay:calc(var(--d0) + .72s)}.cover__act>:nth-child(4){animation-delay:calc(var(--d0) + .78s)}
}
@keyframes rise{from{transform:translateY(104%)}to{transform:none}}
@keyframes fig{from{opacity:0;translate:0 3%;scale:1.04}to{opacity:1;translate:0 0;scale:1}}
@keyframes glowIn{from{opacity:0}to{opacity:.9}}
@keyframes lift{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

/* ================= act 2, stone: the method and the person ================= */
.method{padding-block:clamp(88px,12.5vw,190px) clamp(64px,8vw,120px)}
.say{font:500 clamp(34px,6.7vw,108px)/1 var(--sans);letter-spacing:-.038em;max-width:14.6em;text-wrap:balance}
.say .rw{transition:color .5s ease}
.say.is-read .rw{color:#857D80}
.say.is-read .rw.on{color:var(--ink)}
.method__grid{display:grid;gap:44px;margin-top:clamp(52px,7.5vw,116px)}
.rules li{display:grid;gap:8px;padding-block:24px;border-top:1px solid var(--hair)}
.rules li:last-child{border-bottom:1px solid var(--hair)}
.rules h3{font:700 clamp(22px,2.15vw,32px)/1.12 var(--sans);letter-spacing:-.02em}
.rules p{color:var(--fg2);max-width:40ch;font-size:clamp(16.5px,1.3vw,18.5px)}
.plate{position:relative;justify-self:center;width:min(100%,420px)}
.plate__f{position:relative;aspect-ratio:828/1108;overflow:hidden;background:#3a342f;clip-path:inset(calc((1 - var(--pin,1)) * 14%) calc((1 - var(--pin,1)) * 10%) 0 calc((1 - var(--pin,1)) * 10%))}
.plate video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.plate figcaption{margin-top:12px;font-size:13.5px;line-height:1.4;color:var(--fg3)}
@media (min-width:900px){
  .method__grid{grid-template-columns:minmax(0,7fr) minmax(0,1fr) minmax(0,4fr);align-items:start;gap:0}
  .rules li{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:28px;padding-block:clamp(30px,3.4vw,50px);align-items:baseline}
  .plate{grid-column:3;justify-self:stretch;width:auto}
}

/* the figure grows with the window like the cover (--u), up to the photo's own 1467 px (strong.webp is 1100x1467) */
.force{--hh:max(600px,100svh);padding-top:clamp(20px,3vw,48px);
  --s:min(calc(var(--hh) * .92),calc((100vw - 28px) * 2.0498),1467px);--ar:0.4879;--il:-26.643%;--iw:153.700%}
.force__in{display:grid;gap:26px;padding-bottom:clamp(40px,7vw,72px)}
.force blockquote{font-size:clamp(27px,7vw,34px);line-height:1.12;max-width:17em;text-wrap:balance}
.force__who{display:grid;gap:6px;max-width:330px}
.sign{font-size:34px;line-height:1;color:var(--plum)}
.force__who small{font-size:14.5px;color:var(--fg3)}
.force__who p:last-child{margin-top:10px;font-size:16px;color:var(--fg2)}
.force__stage{position:relative;height:var(--s);overflow:clip}
/* the figure leaves into shadow instead of being cut by the section's edge: one veil over body and paper together.
   Its colour is the night ground as it looks under the next act's grain, so no seam shows where the acts meet */
.force__stage::after{content:"";position:absolute;left:0;right:0;bottom:0;height:48%;pointer-events:none;background:linear-gradient(to top,rgba(31,27,28,1) 0%,rgba(31,27,28,0.998) 6.25%,rgba(31,27,28,0.984) 12.5%,rgba(31,27,28,0.951) 18.75%,rgba(31,27,28,0.896) 25%,rgba(31,27,28,0.82) 31.25%,rgba(31,27,28,0.725) 37.5%,rgba(31,27,28,0.616) 43.75%,rgba(31,27,28,0.5) 50%,rgba(31,27,28,0.384) 56.25%,rgba(31,27,28,0.275) 62.5%,rgba(31,27,28,0.18) 68.75%,rgba(31,27,28,0.104) 75%,rgba(31,27,28,0.049) 81.25%,rgba(31,27,28,0.016) 87.5%,rgba(31,27,28,0.002) 93.75%,rgba(31,27,28,0) 100%)}
/* no transform on the lock: the photo must blend with the section's own ground */
.force__lock{position:absolute;left:50%;top:0;height:var(--s);width:calc(var(--s) * var(--ar));margin-left:calc(var(--s) * var(--ar) * -.5);pointer-events:none}
.force .lk .w{fill:var(--dusty)}
/* the word arrives once and straight up: its distance to the figure is the same on every frame */
.is-js .force .lk .wl,.is-js .force .lk .wr{opacity:0;transform:translateY(7%);transition:opacity .9s ease,transform 1.2s var(--ease)}
.is-js .force .lk .wr{transition-delay:.12s}
.is-js .force.in .lk .wl,.is-js .force.in .lk .wr{opacity:1;transform:none}
.force__fig{position:absolute;top:0;left:var(--il);width:var(--iw);height:100%;max-width:none;mix-blend-mode:multiply}
@media (min-width:860px){
  .force{--s:min(calc(var(--hh) * 1.16),calc(var(--u) * 1240),calc((100vw - 120px) * 1.1338),1467px);--ar:0.8820;--il:7.871%;--iw:85.014%}
  .force blockquote{font-size:clamp(28px,2.5vw,36px)}
}
@media (min-width:1280px){
  .force__in{position:absolute;left:0;right:0;top:calc(clamp(20px,3vw,48px) + var(--s) * .345);z-index:3;grid-template-columns:minmax(0,320px) minmax(0,290px);justify-content:space-between;align-items:start;padding-bottom:0}
  .force blockquote{font-size:clamp(24px,1.85vw,30px);max-width:none}
  .force__who{justify-self:end}
}
/* a tall window: the words beside the figure grow with it, so the quote stays where it meets the figure */
@media (min-width:1280px) and (min-height:1101px){
  .force{padding-top:clamp(20px,3vw,calc(var(--u) * 48))}
  .force__in{top:calc(clamp(20px,3vw,calc(var(--u) * 48)) + var(--s) * .345);grid-template-columns:minmax(0,calc(var(--u) * 320)) minmax(0,calc(var(--u) * 290))}
  .force blockquote{font-size:clamp(24px,1.85vw,calc(var(--u) * 30))}
  .force__who{max-width:calc(var(--u) * 330);gap:calc(var(--u) * 6)}
  .force .sign{font-size:calc(var(--u) * 34)}
  .force__who small{font-size:calc(var(--u) * 14.5)}
  .force__who p:last-child{margin-top:calc(var(--u) * 10);font-size:calc(var(--u) * 16)}
}

/* ================= act 3, night: the app, in five films ================= */
/* Every scene is one article: the word, the phone with a real screen recording, the promise and the chapters.
   On a phone the scenes simply follow each other; on a wide screen they share one pinned stage. There the word
   stands whole to the left of the phone and the copy with the chapters stands under it (owner, 17.11: a word
   split by the phone, two letters on each side, read as two scraps). */
.stage{background:linear-gradient(var(--night),var(--deep) 46svh)}
.stage__head{display:grid;gap:18px;padding-block:clamp(84px,12vw,170px) clamp(36px,6vw,72px)}
.stage__where{display:none}
.stage__pin{display:grid;gap:clamp(84px,22vw,128px);padding-bottom:clamp(72px,16vw,120px)}
.sc{position:relative;display:grid;justify-items:center;--pw:min(78vw,320px);--wf:min(25vw,108px)}
.ww{display:flex;justify-content:center;font:800 var(--wf)/1 var(--sans);letter-spacing:.004em;color:var(--bone)}
.ww span{display:block;padding-block:.26em .1em;margin-block:-.26em -.1em;overflow:hidden}
.ww i{display:block;font-style:normal}
.sc__copy{display:grid;gap:10px;width:100%;padding:18px max(var(--g),env(safe-area-inset-right,0px)) 26px max(var(--g),env(safe-area-inset-left,0px))}
.sc__n{font:500 13.5px/1 var(--sans);letter-spacing:.04em;color:var(--rose)}
.sc h3{font:700 clamp(25px,2.5vw,37px)/1.08 var(--sans);letter-spacing:-.022em;text-wrap:balance}
.sc__copy p:last-child{color:var(--fg2);max-width:38ch;font-size:clamp(16px,1.25vw,18.5px);line-height:1.45}

/* the phone: every size inside is in em, 1em = width / 30. The screen is exactly the recording's 9:20. */
.phone{width:var(--pw);font-size:calc(var(--pw) / 30);padding:.75em;border-radius:4.3em;background:linear-gradient(150deg,#4a4346,#201c1e 38%,#141112 70%,#2c2729);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07),0 3em 6em -2.4em rgba(0,0,0,.9),0 0 10em -2.6em rgba(244,114,155,.34)}
.phone__scr{position:relative;aspect-ratio:9/20;border-radius:3.6em;overflow:hidden;background:#161618}
.phone__scr video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .28s ease}
.phone__scr.is-wrap video{opacity:0}
/* where the finger lands: the recording itself carries no touch marks */
.tapr{position:absolute;left:calc(var(--x,.5) * 100%);top:calc(var(--y,.5) * 100%);width:4.6em;height:4.6em;margin:-2.3em 0 0 -2.3em;border-radius:50%;border:.16em solid rgba(255,255,255,.92);background:rgba(255,255,255,.18);opacity:0;pointer-events:none}
.tapr.go{animation:tap .6s var(--ease) both}
@keyframes tap{0%{opacity:0;transform:scale(.3)}22%{opacity:1}100%{opacity:0;transform:scale(1.2)}}

/* chapters follow the film's own clock; a tap on one rewinds the film to it */
.ch{display:grid;width:100%;counter-reset:c;padding:22px max(var(--g),env(safe-area-inset-right,0px)) 0 max(var(--g),env(safe-area-inset-left,0px))}
.ch button{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:8px;align-items:baseline;width:100%;min-height:48px;padding:13px 0;color:var(--fg3);font-size:15.5px;line-height:1.35;border-top:1px solid var(--hair);transition:color .3s}
.ch li:last-child button{border-bottom:1px solid var(--hair)}
.ch button::before{counter-increment:c;content:counter(c);font:400 11px/1.35 var(--num);font-variant-numeric:tabular-nums}
.ch button::after{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;background:var(--rose);transform-origin:0 50%;transform:scaleX(var(--cp,0))}
.ch button:hover{color:var(--fg2)}
.ch button.is-on{color:var(--fg)}
.ch button.is-on::before{color:var(--rose)}

.rail{display:none}
@media (max-width:859.98px){
  /* a phone shows the scenes as a strip, one card on the screen. Over the strip stands a rail of the five scene
     words (owner, 17.11): the current word is filled, the next ones stand in outline and run off the edge, so the
     rail itself says there is more. Five bars under it: the bar of the current scene fills while its film plays.
     The words are pseudo-content on purpose: an outlined word has no ink for a contrast check to read */
  .stage{--cw:min(calc(100vw - 2 * var(--g)),360px)}
  .is-js .rail{display:block}
  .rail__box{overflow:hidden;padding-block:4px 16px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 18px);mask-image:linear-gradient(90deg,transparent,#000 18px)}
  /* the tracking is positive and the same for the filled and the outlined word, so a word never jumps when it turns:
     at -.03em the outline of ЕЛ in ТЕЛО touched (the stroke eats .6px on each side of a gap; owner 19.11, D-147) */
  .rail__row{display:flex;gap:4.6vw;width:max-content;padding-inline:max(var(--g),env(safe-area-inset-left,0px));font:700 min(15.5vw,84px)/1 var(--sans);letter-spacing:.02em;text-transform:uppercase;transition:transform .7s var(--ease)}
  .rail__row button{color:transparent;-webkit-text-stroke:1.2px rgba(242,239,235,.42);letter-spacing:inherit;text-transform:uppercase;white-space:nowrap;transition:color .35s,-webkit-text-stroke-color .35s}
  .rail__row button::before{content:attr(data-w)}
  .rail__row button.is-on{color:var(--bone);-webkit-text-stroke-color:transparent}
  .rail__bars{display:flex;gap:5px;padding-inline:max(var(--g),env(safe-area-inset-left,0px));margin-bottom:26px}
  .rail__bars i{flex:1;height:3px;border-radius:2px;background:rgba(242,239,235,.2);overflow:hidden}
  .rail__bars b{display:block;height:100%;background:var(--rose);transform-origin:0 50%;transform:scaleX(0)}
  /* one card stands in the middle and the next one waits just outside the screen: no cut words at the edge */
  .is-js .stage__pin{display:flex;gap:calc((100vw - var(--cw)) / 2 + 2px);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;
    padding:0 calc((100vw - var(--cw)) / 2) clamp(64px,16vw,104px)}
  .is-js .stage__pin::-webkit-scrollbar{display:none}
  .is-js .sc{flex:0 0 var(--cw);scroll-snap-align:center;justify-items:start;align-content:start;--pw:min(60vw,calc(52svh * .45),250px)}
  .is-js .sc .ww,.is-js .sc__n{display:none}
  .is-js .sc .phone{order:-1;justify-self:center}
  .is-js .sc__copy{padding:20px 0 0;gap:8px}
  .is-js .sc__copy p:last-child{font-size:15.5px}
  .is-js .ch{padding:14px 0 0}
  .is-js .ch li{display:none}
  .is-js .ch li.is-cur{display:block}
  .is-js .ch button,.is-js .ch li:last-child button{min-height:44px;padding:11px 0 0;border-bottom:0;font-size:15px;text-align:left}
}
@media (min-width:860px){
  .is-js .stage__track{position:relative;height:500svh}
  .is-js .stage__pin{position:sticky;top:0;height:100svh;display:block;padding:0;overflow:clip}
  .is-js .stage__where{display:flex;align-items:baseline;gap:10px;position:absolute;z-index:4;top:calc(var(--hdr) + clamp(18px,4svh,40px));left:max(var(--g),env(safe-area-inset-left,0px),calc((100% - var(--col)) / 2 + var(--g)));font:500 14px/1 var(--sans);color:var(--fg3)}
  /* the counter is a number standing alone: Unbounded at 0.8 of the old size, its box one tabular digit wide */
  .is-js .stage__where b{display:inline-block;width:.9em;text-align:center;font:400 24px/1 var(--num);font-variant-numeric:tabular-nums;color:var(--fg)}
  .is-js .stage__where span:not(#wl){font:400 11px/1 var(--num);font-variant-numeric:tabular-nums}
  .is-js .stage__where i{display:block;width:96px;height:2px;margin-inline:6px;align-self:center;background:var(--hair);position:relative;overflow:hidden}
  .is-js .stage__where i::after{content:"";position:absolute;inset:0;background:var(--rose);transform-origin:0 50%;transform:scaleX(var(--wp,0))}
  .is-js .stage__where span{color:var(--fg2)}
  .is-js .sc{position:absolute;inset:0;display:block;pointer-events:none;
    /* the two sides of the composition (the page column, never closer to the edge than the gutter) and its middle line */
    --sl:max(var(--g),env(safe-area-inset-left,0px),calc((100% - var(--col)) / 2 + var(--g)));
    --sr:max(var(--g),env(safe-area-inset-right,0px),calc((100% - var(--col)) / 2 + var(--g)));
    --cy:calc(50% + var(--hdr) / 2);
    /* the phone stands at the right side. On a narrow window it gives way, so the copy and the chapters fit beside
       it: 33.6vw is what the two gutters, both columns and the gap between them leave, 55px is the clear gap */
    --pw:min(370px,calc((100svh - var(--hdr) - 60px) * .4627),calc(33.6vw - 55px));
    --cw:min(27vw,400px);--hw:min(25vw,350px);--gx:clamp(28px,4.4vw,64px);
    /* the word stands whole to the left of the phone: the ink of the widest one (ПЛАН in Onest 800, 2.84em past the
       column line) ends 0.16 of the free width short of the phone, the gap of the accepted layout (its word 2.605em of 3.1) */
    --wf:min(33.4svh,calc((min(100vw,var(--col)) - 2 * var(--g) - var(--pw)) / 3.38));
    /* where the copy starts: under the word, just below the middle line. A short window lifts the word and the
       copy together, so the copy (--tr is the room it needs) never leaves the screen */
    --tr:300px;--ty:min(calc(var(--cy) + var(--wf) * .216),calc(100% - var(--tr)))}
  .is-js .sc.is-on{pointer-events:auto;z-index:2}
  /* the ink of the first letter starts at the column line, hence the small pull to the left. The three multipliers of
     --wf (1.163 here, .216 in --ty, .026 for the chapters) keep the accepted composition in units of the word's capitals:
     baseline to copy 0.466 of a capital, copy below the middle line 0.304 of one (Onest 800: baseline .8325em down a
     line of 1, capitals .71em) */
  .is-js .ww{position:absolute;display:block;left:calc(var(--sl) - .02em);top:calc(var(--ty) - var(--wf) * 1.163)}
  .is-js .ww i{transform:translateY(120%);transition:transform .8s var(--ease)}
  .is-js .sc.is-past .ww i{transform:translateY(-120%)}
  .is-js .sc.is-on .ww i{transform:none}
  /* the incoming phone fades in over the outgoing one, which leaves only afterwards: the frame never dips */
  .is-js .sc .phone{position:absolute;right:var(--sr);top:var(--cy);margin:0;transform:translateY(-50%);opacity:0;transition:opacity 0s .55s}
  .is-js .sc.is-on .phone{opacity:1;transition:opacity .55s var(--ease)}
  .is-js .sc__copy{position:absolute;left:var(--sl);top:var(--ty);width:var(--cw);padding:0;opacity:0;transform:translateY(20px);transition:opacity .4s ease,transform .7s var(--ease)}
  .is-js .sc.is-past .sc__copy{transform:translateY(-20px)}
  .is-js .sc.is-on .sc__copy{opacity:1;transform:none}
  .is-js .sc__n{display:none}
  /* the chapters are the second column under the word; the first row stands level with the capitals of the heading */
  .is-js .ch{position:absolute;left:calc(var(--sl) + var(--cw) + var(--gx));top:calc(var(--ty) + var(--wf) * .026);width:var(--hw);padding:0;opacity:0;transition:opacity .4s ease}
  .is-js .sc.is-on .ch{opacity:1}
}
@media (min-width:860px) and (max-height:700px){.sc h3{font-size:26px}.sc__copy p:last-child{font-size:15.5px}.ch button{min-height:0;padding:9px 0;font-size:14.5px}.is-js .sc{--tr:250px}}
/* a tall window: the pinned stage is a full-screen composition like the cover, so the phone, the word, the copy, the
   chapters and the counter grow together in --u (see :root) and keep the proportions of the accepted screens, the
   column included. Without it a 4K kept a 370 px phone beside letters 680 px tall. A tall narrow window (a tablet
   upright, half of a monitor) has the height for a large phone but not the width: the same 33.6vw limit as above
   keeps the phone clear of the copy and the chapters.
   Gated by the height, because the short-window rule above has a lower specificity than these */
@media (min-width:860px) and (min-height:1101px){
  .is-js .stage__where{top:calc(var(--hdr) + var(--lift) + clamp(18px,4svh,calc(var(--u) * 40)));gap:calc(var(--u) * 10);font-size:calc(var(--u) * 14)}
  .is-js .stage__where b{font-size:calc(var(--u) * 24)}
  .is-js .stage__where span:not(#wl){font-size:calc(var(--u) * 11)}
  .is-js .stage__where i{width:calc(var(--u) * 96);margin-inline:calc(var(--u) * 6)}
  .is-js .sc{--pw:min(calc(var(--u) * 370),calc((100svh - var(--hdr) - 60px) * .4627),calc(33.6vw - 55px));
    --cw:min(27vw,calc(var(--u) * 400));--hw:min(25vw,calc(var(--u) * 350));--gx:clamp(28px,4.4vw,calc(var(--u) * 64));--tr:calc(var(--u) * 300);
    --wf:min(33.4svh,calc(var(--u) * 367),calc((min(100vw,var(--col)) - 2 * var(--g) - var(--pw)) / 3.38))}
  .is-js .sc__copy{gap:calc(var(--u) * 10)}
  .is-js .sc h3{font-size:clamp(25px,2.5vw,calc(var(--u) * 37))}
  .is-js .sc__copy p:last-child{font-size:clamp(16px,1.25vw,calc(var(--u) * 18.5))}
  .is-js .ch button{grid-template-columns:calc(var(--u) * 24) minmax(0,1fr);column-gap:calc(var(--u) * 8);min-height:calc(var(--u) * 48);padding-block:calc(var(--u) * 13);font-size:calc(var(--u) * 15.5)}
  .is-js .ch button::before{font-size:calc(var(--u) * 11)}
}

/* ---------- what is inside: the program index, read from the catalogue itself ---------- */
.index{background:var(--deep);padding-block:clamp(72px,10vw,150px) 0}
.index__grid{display:grid;gap:clamp(40px,7vw,72px)}
.index__copy{display:grid;gap:18px;align-content:start}
.idx{counter-reset:p;margin-top:clamp(14px,2.4vw,34px)}
.idx li{display:grid;grid-template-columns:36px minmax(0,1fr) auto;column-gap:8px;row-gap:5px;align-items:baseline;padding-block:17px;border-top:1px solid var(--hair)}
.idx li:last-child{border-bottom:1px solid var(--hair)}
.idx li::before{counter-increment:p;content:counter(p,decimal-leading-zero);font:400 11px/1 var(--num);color:var(--fg3);font-variant-numeric:tabular-nums}
.idx b{font:500 clamp(21px,2.05vw,30px)/1.12 var(--sans);letter-spacing:-.02em}
.idx span{grid-column:2/4;font-size:15px;line-height:1.35;color:var(--fg2)}
.idx em{font:500 13px/1 var(--sans);font-style:normal;letter-spacing:.04em;color:var(--fg3);white-space:nowrap}
.idx em.free{color:var(--rose)}
.index__more{margin-top:22px;color:var(--fg2);max-width:52ch;font-size:16.5px}
.index__ph{display:grid;justify-items:center;gap:14px}
.index__ph .phone{--pw:min(70vw,290px)}
.index__ph figcaption{font-size:13.5px;color:var(--fg3);text-align:center;max-width:30ch}
@media (min-width:980px){
  .index__grid{grid-template-columns:minmax(0,7fr) minmax(0,4fr);align-items:start;gap:clamp(24px,5vw,96px)}
  .index__ph{position:sticky;top:calc(var(--hdr) + 36px)}
  .idx li{grid-template-columns:44px minmax(0,1.5fr) minmax(0,1fr) 92px;column-gap:12px}
  .idx span{grid-column:auto}
  .idx em{text-align:right}
  .index__ph .phone{--pw:min(300px,23vw)}
}
/* the term of a program is an element of its own: in a row it follows the kind after a dot, on a phone it stands at the right */
.idx span i{font-style:normal}
.idx span i::before{content:"· "}
.cv{display:none}
@media (max-width:979.98px){
  /* on a phone the catalogue is not a phone inside a phone (owner, 17.11): one large card with the cover of a
     program, and the list under it is its index. The cover comes closer slowly and gives way to the next one;
     a line fills UNDER the current row meanwhile. A tap on a row or on the card turns it */
  .is-js .index__ph{display:none}
  .is-js .cv{display:block;position:relative;max-width:520px;aspect-ratio:5/4;margin-top:10px;border-radius:22px;overflow:hidden;background:var(--raise);box-shadow:0 30px 60px -40px rgba(0,0,0,.9),0 0 90px -40px rgba(244,114,155,.3);cursor:pointer}
  .cv figure{position:absolute;inset:0;opacity:0;transition:opacity .7s ease}
  .cv figure.is-on{opacity:1}
  .cv img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--op,50% 30%);transform:scale(1.12);transition:transform 0s .7s}
  .cv figure.is-on img{transform:scale(1);transition:transform 5.2s linear}
  .cv figure::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(16,14,15,.92),rgba(16,14,15,.5) 34%,rgba(16,14,15,0) 62%)}
  .cv figcaption{position:absolute;left:20px;right:20px;bottom:18px;z-index:1;display:grid;gap:5px;justify-items:start;color:#fff}
  .cv figcaption i{font:700 11.5px/1 var(--sans);font-style:normal;letter-spacing:.09em;text-transform:uppercase;padding:6px 9px 5px;border-radius:999px;border:1px solid rgba(255,255,255,.5);margin-bottom:4px}
  .cv figcaption i.free{background:var(--rose);border-color:var(--rose);color:var(--on-rose)}
  .cv figcaption b{font:700 27px/1.02 var(--sans);letter-spacing:-.025em}
  .cv figcaption span{font-size:14.5px;line-height:1.3;color:rgba(255,255,255,.78)}
  .cv__n{position:absolute;right:18px;top:16px;z-index:1;font:400 11px/1 var(--num);font-variant-numeric:tabular-nums;color:rgba(255,255,255,.8)}
  .idx{margin-top:0}
  .idx li{position:relative;grid-template-columns:30px minmax(0,1fr);row-gap:2px;padding-block:13px}
  .idx b{font-size:19px;line-height:1.15;padding-right:92px}
  .idx span{grid-column:2;font-size:14.5px;line-height:1.3;color:var(--fg3)}
  .idx span i{position:absolute;right:0;top:16px;font:500 14px/1 var(--sans);color:var(--fg2);font-variant-numeric:tabular-nums}
  .idx span i::before{content:none}
  .idx em{display:none}
  .idx em.free{display:block;position:absolute;right:0;top:40px}
  .is-js .idx li{cursor:pointer}
  .is-js .idx li b{color:var(--fg2);transition:color .3s}
  .is-js .idx li.is-on b{color:var(--fg)}
  .is-js .idx li::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--rose);transform-origin:0 50%;transform:scaleX(0)}
  .is-js .idx li.is-on::after{animation:fill 4.2s linear forwards}
  .is-js .idx.is-hold li.is-on::after{animation-play-state:paused}
}
@keyframes fill{to{transform:scaleX(1)}}
/* what is inside, as a running line; its lean follows the speed of the scroll */
.tick{overflow:hidden;margin-top:clamp(56px,8vw,120px);padding-block:clamp(20px,3vw,40px) clamp(40px,6vw,86px)}
.tick__row{display:flex;width:max-content;transform:skewX(calc(var(--sk,0) * 1deg));animation:tick 34s linear infinite;will-change:transform}
.tick__row span{display:inline-flex;align-items:center;gap:.34em;padding-right:.34em;font:700 clamp(54px,10.4vw,168px)/1 var(--sans);letter-spacing:-.04em;white-space:nowrap;color:transparent;-webkit-text-stroke:1.4px rgba(242,239,235,.5)}
.tick__row span:nth-child(odd){color:var(--bone);-webkit-text-stroke:0}
/* the branded sign closes the lap: once after the six words, not after each of them (owner, 17.11: the outline
   after every word was generic, and a sign that works as a comma stops being a sign) */
.sig--tick{flex:none;width:1.72em;margin:0 .05em}
@keyframes tick{to{translate:-50% 0}}

/* ================= act 4, stone: the price and the questions ================= */
.plans{padding-block:clamp(88px,12vw,180px) 0}
.plans__grid{display:grid;gap:22px;margin-top:clamp(40px,6vw,84px);border-bottom:1px solid var(--hair2)}
.plans__fig{position:relative;height:clamp(400px,116vw,540px);overflow:hidden;order:3;margin-top:8px}
.plans__fig img{position:absolute;left:50%;bottom:0;height:100%;width:auto;max-width:none;transform:translateX(-52%);mix-blend-mode:multiply}
.plan{display:grid;gap:20px;align-content:start;padding-block:clamp(22px,3vw,34px)}
.plan--pro{padding:clamp(24px,2.6vw,36px);border-radius:22px;background:radial-gradient(120% 80% at 100% 0%,rgba(169,55,103,.42),transparent 62%),var(--night);color:var(--bone);--fg:var(--bone);--fg2:var(--bone2);--fg3:var(--bone3);--hair:rgba(242,239,235,.13);--hair2:rgba(242,239,235,.24);margin-bottom:clamp(28px,4vw,56px);box-shadow:0 40px 70px -46px rgba(27,24,25,.75)}
.plan__top{display:flex;justify-content:space-between;align-items:center;gap:12px;height:44px}
.plan__name{font:700 15px/1 var(--sans);letter-spacing:.02em;color:var(--fg2)}
.plan--pro .plan__name{color:var(--blush)}
.seg{display:inline-flex;padding:3px;border-radius:999px;background:rgba(0,0,0,.3);border:1px solid var(--hair)}
.seg button{min-height:34px;padding:0 14px;border-radius:999px;font:500 13.5px/1 var(--sans);color:var(--fg2);transition:background-color .2s,color .2s}
.seg button[aria-pressed="true"]{background:var(--bone);color:var(--on-rose)}
.seg small{font-size:11.5px;margin-left:5px;opacity:.75}
.price{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
/* a price is a number standing alone: Unbounded on tabular figures. Its digits keep the height they had (owner 19.11,
   D-147): Unbounded draws them .75em tall, the old face .70em, so the size is .933 of the old one (not the app's .8);
   the line height .943 keeps the baseline where it stood under the top of the box and .03em at the foot keeps the line
   under the number where it stood (Unbounded has less descent). The rouble is a word sign and keeps its old size,
   hence .34em / .933 */
.price b{font:400 clamp(54px,6.16vw,97px)/.943 var(--num);padding-bottom:.03em;letter-spacing:-.05em;font-variant-numeric:tabular-nums}
.price b small{font:500 .364em/1 var(--sans);margin-left:.22em;letter-spacing:0;color:var(--fg2)}
.price span{color:var(--fg2);font-size:15.5px}
.plan__note{font-size:14.5px;color:var(--fg2);margin-top:-10px;min-height:22px}
.plan ul{display:grid;gap:0}
.plan li{padding-block:13px;border-top:1px solid var(--hair)}
.plan li span{display:block;font-size:14.5px;color:var(--fg3)}
.plan .btn{width:100%}
/* both states of a switch share one cell and the cell is as tall as the taller one: nothing below it ever moves */
.sw{display:grid}.sw>*{grid-area:1/1}.sw--note{margin-top:-10px}.sw .plan__note{margin-top:0}
.plan[data-plan="year"] [data-p="month"],.plan[data-plan="month"] [data-p="year"]{visibility:hidden}
.plans__fine{padding-block:20px 0;font-size:14.5px;color:var(--fg3);max-width:62ch}
.tsw,.plans__fig--b{display:none}
@media (max-width:999.98px){
  /* two posters (owner, 17.11): each tariff is a column of a strip, its own figure stands on its card and leaves
     with it. The card covers only what is below the hand, so the figure is whole and the photo has no edge.
     Premium is the first column; the switch above the strip names both tariffs on the first screen */
  .plans{--pw:min(84vw,400px)}
  .is-js .tsw{display:grid;grid-template-columns:1fr 1fr;max-width:400px;margin-top:26px;padding:4px;border-radius:999px;background:rgba(27,24,25,.07);border:1px solid var(--hair)}
  .tsw button{min-height:44px;border-radius:999px;font:700 14.5px/1 var(--sans);letter-spacing:.01em;color:var(--fg2);text-align:center;transition:background-color .25s,color .25s}
  .tsw button[aria-pressed="true"]{background:var(--ink);color:var(--bone)}
  .plans__grid{grid-auto-flow:column;grid-auto-columns:var(--pw);grid-template-rows:auto 1fr;gap:0 12px;justify-content:start;margin-top:18px;border-bottom:0;
    margin-left:calc(-1 * max(var(--g),env(safe-area-inset-left,0px)));margin-right:calc(-1 * max(var(--g),env(safe-area-inset-right,0px)));
    padding:0 calc((100vw - var(--pw)) / 2) 8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none}
  .plans__grid::-webkit-scrollbar{display:none}
  .plans__fig,.plans__fig--b{display:block;order:0;grid-row:1;grid-column:1;height:min(98vw,468px);margin:0 0 -24px;overflow:visible;background:var(--stone);isolation:isolate}
  .plans__fig--b{grid-column:2}
  .plans__fig--b img{transform:translateX(-50%)}
  .plan{grid-row:2;grid-column:2;display:flex;flex-direction:column;position:relative;z-index:1;scroll-snap-align:center;padding:24px;border-radius:22px;border:1px solid var(--hair2);background:#ECE7E2}
  .plan--pro{grid-column:1;margin-bottom:0;border:0;background:radial-gradient(120% 80% at 100% 0%,rgba(169,55,103,.42),transparent 62%),var(--night)}
  .plan .btn{margin-top:auto}
}
@media (min-width:1000px){
  .plans__grid{grid-template-columns:minmax(0,4fr) minmax(0,4fr) minmax(0,4.4fr);align-items:start;gap:clamp(24px,3.4vw,64px)}
  .plans__fig{order:0;align-self:stretch;height:auto;min-height:560px;margin:0;overflow:visible}
  /* the two tariffs are one row (owner, 17.11): their names start on one line and their buttons stand on one line.
     The free column has no card of its own, so it takes the card's inner padding on top and, at the bottom, the
     padding plus the card's outer margin. Both columns are as tall as the row and the button is pushed to the
     bottom, so the line holds at any width and for any length of the lists */
  .plan{align-self:stretch;display:flex;flex-direction:column}
  .plan:not(.plan--pro){padding-block:clamp(24px,2.6vw,36px) calc(clamp(24px,2.6vw,36px) + clamp(28px,4vw,56px))}
  .plan .btn{margin-top:auto}
}

.faq{padding-block:clamp(72px,10vw,150px) clamp(88px,12vw,180px)}
.faq__grid{display:grid;gap:30px}
.faq details{border-top:1px solid var(--hair)}
.faq details:last-child{border-bottom:1px solid var(--hair)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:20px;padding-block:22px;font:700 clamp(19px,1.7vw,24px)/1.2 var(--sans);letter-spacing:-.01em}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:14px;height:14px;background:linear-gradient(var(--fg2),var(--fg2)) center/100% 1.5px no-repeat,linear-gradient(var(--fg2),var(--fg2)) center/1.5px 100% no-repeat;transition:transform .3s var(--ease)}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{color:var(--fg2);max-width:58ch;padding-bottom:24px}
@supports (interpolate-size:allow-keywords){.faq{interpolate-size:allow-keywords}.faq details::details-content{height:0;overflow:clip;transition:height .5s var(--ease),content-visibility .5s allow-discrete}.faq details[open]::details-content{height:auto}}
@media (min-width:900px){.faq__grid{grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(24px,5vw,96px)}.faq .h2{position:sticky;top:calc(var(--hdr) + 40px);align-self:start}}

/* ================= act 5, night: the close ================= */
.end{background:linear-gradient(to bottom,var(--night) 0,var(--night) calc(100% - 360px),var(--deep) 100%)}
.end__top{position:relative;display:grid}
.end__ph{position:relative;overflow:hidden;height:min(128vw,700px)}
.end__ph img{position:absolute;top:0;left:50%;height:100%;width:auto;max-width:none;transform:translateX(-46%)}
.end__ph::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,var(--night) 0,transparent 9%)}
.end__say{position:relative;z-index:2;display:grid;gap:18px;justify-items:start;margin-top:-6px;padding:0 max(var(--g),env(safe-area-inset-right,0px)) clamp(40px,6vw,80px) max(var(--g),env(safe-area-inset-left,0px))}
.end__mark{width:min(190px,44vw);margin-left:-10px}
.end__say .voice{display:block;font-weight:400;font-size:clamp(38px,4.6vw,96px);line-height:1.02}
.end__say .end__sign{font-weight:500;font-size:clamp(28px,2.5vw,44px);line-height:1;color:var(--dusty);margin-top:clamp(6px,1.2vw,20px)}
.end__say .btn{margin-top:10px}
@media (min-width:900px){
  .end__top{grid-template-columns:minmax(0,48fr) minmax(0,52fr);min-height:min(108svh,1040px);align-items:stretch}
  .end__ph{height:auto;min-height:620px}
  .end__ph::after{background:linear-gradient(to right,transparent 62%,var(--night)),linear-gradient(to top,var(--night) 0,transparent 8%)}
  .end__say{margin:0;align-content:center;padding:clamp(60px,8vw,120px) max(var(--g),env(safe-area-inset-right,0px)) clamp(60px,8vw,120px) clamp(8px,2vw,40px)}
  .end__say::before{content:"";position:absolute;z-index:-1;inset:10% 0 10% -30%;background:radial-gradient(closest-side,rgba(169,55,103,.2),transparent)}
}
/* a tall window: the closing photo and its words grow with the window (--u), up to the photo's own 1430 px (kristina.webp) */
@media (min-width:900px) and (min-height:1101px){
  .end__top{min-height:min(108svh,calc(var(--u) * 1040),1430px)}
  .end__say{gap:calc(var(--u) * 18);padding:clamp(60px,8vw,calc(var(--u) * 120)) max(var(--g),env(safe-area-inset-right,0px)) clamp(60px,8vw,calc(var(--u) * 120)) clamp(8px,2vw,calc(var(--u) * 40))}
  .end__say .voice{font-size:clamp(38px,4.6vw,calc(var(--u) * 96))}
  .end__say .end__sign{font-size:clamp(28px,2.5vw,calc(var(--u) * 44));margin-top:clamp(6px,1.2vw,calc(var(--u) * 20))}
}
.get{display:grid;gap:18px;padding-bottom:clamp(64px,8vw,120px)}
.panel{display:grid;gap:18px;align-content:start;padding:clamp(24px,3vw,40px);border-radius:22px;border:1px solid var(--hair);background:var(--raise)}
.panel h3{font:700 clamp(23px,2.2vw,31px)/1.1 var(--sans);letter-spacing:-.015em}
.panel p{color:var(--fg2);max-width:48ch}
.get__row{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px}
.get__meta{font-size:14.5px;color:var(--fg2)}
/* build metadata (version, size, SHA-256) is never typed in the markup: js/main.js fills it from
   /downloads/version.json. A row or box stays out of the layout until it is filled, so neither
   no-JS nor a silent network shows an empty label or an empty <details> */
[data-apk-row]:not([data-filled]),[data-apk-box]:not([data-filled]){display:none}
.get__meta [data-apk-row]+[data-apk-row]::before{content:", "}
.sha summary{list-style:none;cursor:pointer;font-size:14.5px;color:var(--fg2);padding-block:6px;width:max-content;border-bottom:1px solid var(--hair2)}
.sha summary::-webkit-details-marker{display:none}
.sha code{display:block;margin-top:10px;padding:12px 14px;border-radius:12px;background:rgba(0,0,0,.3);font:400 12.5px/1.5 ui-monospace,Consolas,monospace;color:var(--fg2);overflow-wrap:anywhere;user-select:all}
.how{counter-reset:h;display:grid;gap:10px}
.how li{counter-increment:h;display:grid;grid-template-columns:30px minmax(0,1fr);gap:12px;align-items:baseline}
.how li::before{content:counter(h);font:400 12px/1 var(--num);font-variant-numeric:tabular-nums;color:var(--rose)}
.fine{font-size:13.5px;line-height:1.5;color:var(--fg3)}
.fine a{border-bottom:1px solid var(--hair2)}
.qrbox{display:none}
.qr{width:132px;height:132px;border-radius:12px;flex:none}
.qrrow{display:flex;flex-wrap:wrap;gap:18px;align-items:center}
.qrrow p{flex:1 1 160px;font-size:15.5px}
.soon{display:flex;flex-wrap:wrap;gap:8px 22px;color:var(--fg3);font-size:14.5px}
.stores{display:grid;gap:0;margin-top:auto;width:100%}
.stores div{display:flex;justify-content:space-between;padding-block:12px;border-top:1px solid var(--hair);font-size:15.5px}
.stores dd{color:var(--fg3)}
@media (min-width:980px){
  .get{grid-template-columns:minmax(0,7fr) minmax(0,4fr);align-items:stretch}
  .page[data-build="no"] .get{grid-template-columns:minmax(0,1fr);max-width:820px}
  .qrbox{display:flex;flex-direction:column}
  .page[data-build="yes"] .soon{display:none}
}

.get{scroll-margin-top:calc(var(--hdr) + 14px)}

/* ---------- footer ---------- */
/* the footer is the end of the last act, not a slab under it: it carries the same grain (class "act" in the markup),
   so the ground of the closing act runs to the last pixel without an edge */
.foot{position:relative;z-index:2;background:var(--deep);color:var(--bone)}
.foot__in{display:grid;gap:22px;padding-block:38px calc(38px + 78px)}
.foot nav{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:14.5px;color:var(--bone2)}
.foot nav a{padding-block:6px}
.foot nav a:hover{color:var(--bone)}
.foot small{font-size:13.5px;color:var(--bone3)}
.foot small .wd{font:700 1em/1 var(--word);letter-spacing:.06em}
@media (min-width:760px){.foot__in{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:36px;padding-block:34px}}

/* phone dock */
.dock{position:fixed;left:0;right:0;bottom:0;z-index:65;padding:10px max(16px,env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));transform:translateY(120%);transition:transform .5s var(--ease);pointer-events:none}
.dock.is-on{transform:none}
.dock .btn{width:100%;pointer-events:auto;box-shadow:0 14px 34px -10px rgba(0,0,0,.6)}
@media (min-width:760px){.dock{display:none}}

@media (prefers-reduced-motion:reduce){
  :root{scroll-behavior:auto}
  .intro{display:none}
  .tick__row{animation:none}
  .rail__row,.rail__row button,.tsw button,.cv figure,.cv img,.cv figure.is-on img{transition:none}
  .cv img{transform:none}
  .is-js .idx li.is-on::after{animation:none;transform:scaleX(1)}
  .sc .phone,.sc__copy,.ch,.ch button,.say .rw,.dock,.ww i,.btn,.phone__scr video,.is-js .force .lk .wl,.is-js .force .lk .wr{transition:none}
  .is-js .force .lk .wl,.is-js .force .lk .wr{opacity:1;transform:none}
  .tapr{display:none}
  .is-js [data-rv] .l>span{transform:none;transition:none}
}
