@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/inter-regular.ttf) format('truetype')}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/inter-medium.ttf) format('truetype')}
@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/inter-semibold.ttf) format('truetype')}
@font-face{font-family:Montserrat;font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/montserrat-regular.ttf) format('truetype')}

/* Values from Figma "Posita" › Desktop - 1 (3549:1528), laid out on a 1920px canvas with a 1220px column. */
:root{
  --bg:#f5f5f5;--ink:#18181b;--muted:#71717a;--blue:#0485f7;--soft:#dce9f5;--surface:#fff;--default:#ebebec;
  --shadow:0 2px 4px #0000000a,0 1px 2px #0000000f,0 0 1px #0000000f;
  --section-gap:160px;--ease:cubic-bezier(.25,.1,.25,1);
  /* The app's album tile (shared/ui/album-card) */
  --app-default:#f3f3f4;--app-gray-300:#d4d4d8;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:32px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,Arial,sans-serif;font-size:16px;line-height:24px;-webkit-font-smoothing:antialiased;overflow-x:clip}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;padding:0;-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
img{display:block;max-width:100%;height:auto}
h1,h2,h3,h4,p,ol{margin:0}
ol{padding:0;list-style:none}
h1,h2{font-weight:500;line-height:1.24;letter-spacing:-.0025em}
h1{font-size:72px}
h2{font-size:56px}
.h2-small{font-size:46px}
h3{font-weight:600;font-size:18px;line-height:28px}
.wrap{width:min(1220px,calc(100% - 64px));margin-inline:auto}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip{position:absolute;left:20px;top:-100px;background:var(--ink);color:#fff;padding:12px 20px;border-radius:12px;z-index:10}
.skip:focus{top:16px}

/* ---------- Buttons (HeroUI Button / soft Button) ---------- */
.button,.soft-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:48px;padding:8px 24px;border-radius:24px;font-size:16px;font-weight:500;line-height:24px;white-space:nowrap;transition:background .15s}
.button{background:var(--blue);color:#fcfcfc}
.button:hover{background:#0079e4}
.soft-button{background:var(--soft);color:var(--blue);gap:8px}
.soft-button:hover{background:#cfe4f7}
.button-icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.button-wide{width:100%}

/* ---------- Header (3549:1529): top 38, logo 125×40, buttons gap 24 ---------- */
.header{max-width:1216px;padding-top:38px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo img{height:40px;width:auto}
.header nav{display:flex;align-items:center;gap:24px}
.glass-link{height:44px;padding:0 24px;display:flex;align-items:center;border-radius:296px;background:linear-gradient(145deg,#ffffff75,#fff2);box-shadow:inset 0 1px 1px #fff,0 4px 12px #00000006;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);font-size:16px;color:#404040;transition:background .15s}
.glass-link:hover{background:#fff}
.lang-group{position:relative;display:flex;align-items:center;height:40px;border-radius:24px;overflow:visible}
.lang-current{display:flex;align-items:center;gap:8px;height:40px;padding:8px 16px;background:#fff;border-radius:24px 0 0 24px;font-weight:500}
.lang-current svg{width:16px;height:16px;fill:none;stroke:var(--ink);stroke-width:1.2}
.lang-divider{width:1px;height:20px;background:#d4d4d8;margin-left:-1px;position:relative}
.lang-chevron{display:grid;place-items:center;width:40px;height:40px;background:var(--default);border-radius:0 24px 24px 0}
.lang-chevron svg{width:16px;height:16px;fill:none;stroke:var(--ink);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.lang-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:20;min-width:160px;padding:6px;border-radius:16px;background:#fff;box-shadow:0 12px 32px #0000001f,var(--shadow);display:flex;flex-direction:column}
.lang-menu[hidden]{display:none}
.lang-menu button{text-align:left;padding:10px 12px;border-radius:10px;font-weight:500}
.lang-menu button:hover,.lang-menu button[aria-checked=true]{background:var(--bg)}

/* ---------- Page rhythm: sections 160 apart ---------- */
.page-stack{display:flex;flex-direction:column;gap:var(--section-gap);margin-top:24px}
.section{display:flex;flex-direction:column;align-items:center;gap:64px}
.section-heading{display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px;width:100%}
.section-heading>p{font-size:24px;line-height:29px;color:var(--muted)}

/* ---------- Hero (3549:1550): text 804 wide, gap 32; photo 64 below ---------- */
.hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:176px}
.hero-copy{width:min(804px,100%);display:flex;flex-direction:column;gap:32px;opacity:calc(1 - var(--hero,0) * 1.3);transform:translateY(calc(var(--hero,0) * -40px))}
.hero-copy p{font-size:32px;line-height:39px;color:var(--muted)}
.hero-stage{width:min(490px,100%);margin-top:64px}
.hero-hand{transform-origin:50% 100%;transform:translateY(calc((1 - var(--rise,0)) * 8%)) scale(calc(.92 + var(--rise,0) * .08))}

/* ---------- Folder: the app's AlbumCard scaled as one piece ----------
   App: 164.5pt wide, 4/4.5, radius 32, padding 10, fill #F3F3F4, dashed frame
   inset 2 / radius 22 / stroke 2 / dash 12 (gap fitted in JS). 1cqw = 1% of width. */
/* The container sits on the wrapper: an element's own cqw resolves against its ancestor. */
.folder{min-width:0;text-align:center;container-type:inline-size}
.folder-card{position:relative;aspect-ratio:4/4.5;border-radius:19.45cqw;background:var(--app-default);padding:6.08cqw;display:grid;place-items:center}
.folder-dash{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.folder-dash rect{fill:none;stroke:var(--app-gray-300);stroke-linecap:round}
.folder-cover{position:relative;width:100%;height:100%;object-fit:contain}

/* ---------- Main flow (3549:1560): a 1220×625 black block, pinned ---------- */
.flow{position:relative;height:calc(625px + 300vh);--p:0}
.flow-stage{position:sticky;top:max(16px,calc(50vh - 312px))}
.flow-box{height:625px;background:#000;color:#f5f5f7;display:grid;grid-template-columns:1fr auto;align-items:center;gap:64px;padding:0 96px 0 80px;overflow:hidden}
.flow-copy{display:grid;grid-template-columns:auto 1fr;gap:32px;align-items:center}
.flow-dots{display:flex;flex-direction:column;gap:10px}
.flow-dots li{width:4px;height:32px;border-radius:4px;background:#333336;position:relative;overflow:hidden}
.flow-dots li::after{content:"";position:absolute;inset:0;background:var(--blue);transform:scaleY(var(--fill,0));transform-origin:top}
.flow-steps{display:grid}
.flow-step{grid-area:1/1;opacity:0;transform:translateY(24px);transition:opacity .5s var(--ease),transform .5s var(--ease);pointer-events:none}
.flow-step.active{opacity:1;transform:none;pointer-events:auto}
.flow-eyebrow{font-size:16px;font-weight:500;color:#a1a1aa;margin-bottom:16px}
.flow-step h3{font-size:56px;line-height:1.24;font-weight:500;letter-spacing:-.0025em}
.flow-step>p:not(.flow-eyebrow){color:#a1a1aa;font-size:24px;line-height:29px;margin-top:24px;max-width:460px}
.flow.is-static{height:auto}
.flow.is-static .flow-stage{position:relative;top:auto}
.flow.is-static .flow-box{height:auto;padding:64px;grid-template-columns:1fr}
.flow.is-static .flow-dots,.flow.is-static .device{display:none}
.flow.is-static .flow-steps{gap:40px}
.flow.is-static .flow-step{grid-area:auto;opacity:1;transform:none}

/* ---------- Collections (3549:1671): two rows of 392×232 cards, gap 20, row 2 offset 188 ---------- */
.gallery{width:100%}
.gallery-viewport{width:100%;overflow:hidden;padding:1px 0 5px}
.gallery-rows{display:flex;flex-direction:column;gap:20px;width:max-content;margin-left:calc(50% - 863px)}
.gallery-row{display:flex;gap:20px;width:max-content}
.gallery-row.offset{margin-left:188px}
.app-card{width:392px;height:232px;flex-shrink:0;padding:16px;border-radius:24px;background:var(--surface);box-shadow:var(--shadow);display:flex;flex-direction:column;gap:16px;transition:transform .25s var(--ease)}
.app-card:hover{transform:translateY(-4px)}
.card-head{display:flex;align-items:flex-start;gap:16px;height:72px;flex-shrink:0}
.card-head .folder{width:64px;flex-shrink:0}
.card-head .folder-cover{opacity:0;transition:opacity .3s}
.card-head .folder-card.loaded .folder-cover{opacity:1}
.card-heading{min-width:0;flex:1}
.card-category{font-size:14px;line-height:20px;color:var(--muted)}
.card-heading h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-meta{display:flex;align-items:center;gap:6px;margin-top:4px;font-size:14px;line-height:20px;font-weight:500;color:var(--muted)}
.card-meta svg{width:12px;height:12px;fill:none;stroke:var(--blue);stroke-width:1.5}
.card-body{display:flex;flex-direction:column;gap:24px}
.card-body>p{height:48px;color:var(--muted);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.card-actions{display:flex;justify-content:flex-end}
.details-link{font-weight:500;color:var(--blue);padding:8px 16px;min-height:40px;border-radius:24px;white-space:nowrap}
.details-link:hover{background:#0485f70a}
.gallery-viewport.is-static{overflow-x:auto;scrollbar-width:thin}

/* ---------- Series (3549:1931): three 392×300 cards, gap 20 ---------- */
.service-grid{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.service-card{background:var(--surface);border-radius:24px;box-shadow:var(--shadow);padding:16px;display:flex;flex-direction:column;gap:16px;min-height:300px}
.service-head{display:flex;flex-direction:column;gap:16px}
.card-icon{width:48px;height:48px;border-radius:12px;background:var(--soft);display:grid;place-items:center}
.card-icon svg{width:26px;height:26px;fill:none;stroke:var(--blue);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.service-body{display:flex;flex-direction:column;gap:16px;flex:1}
.service-body>p{min-height:48px;color:var(--muted)}
.service-meta{font-weight:600;line-height:24px}
.service-body .button{margin-top:auto}
.service-grid .reveal:nth-child(2){--d:.08s}.service-grid .reveal:nth-child(3){--d:.16s}

/* ---------- Apple Watch (3549:1997): three 360-wide figures, gap 20 ---------- */
.metrics-grid{width:100%;display:flex;justify-content:center;gap:20px;text-align:center}
.metrics-grid>div{width:360px;display:flex;flex-direction:column;gap:8px}
.metrics-grid>div:nth-child(2){--d:.1s}.metrics-grid>div:nth-child(3){--d:.2s}
.metric{font-size:48px;line-height:48px;font-weight:400}
.metrics-grid p{color:var(--muted)}

/* ---------- Widgets (3549:2017): two buttons, gap 20 ---------- */
.contact-actions{display:flex;justify-content:center;gap:20px;flex-wrap:wrap}

/* ---------- Footer (3549:2029) ---------- */
.footer{max-width:1216px;display:flex;justify-content:space-between;align-items:flex-start;gap:32px;margin-top:206px;padding-bottom:120px}
.footer-brand{display:flex;flex-direction:column;align-items:flex-start;gap:48px;max-width:539px}
.footer-brand img{height:40px;width:auto}
.footer-brand>p{font-family:Montserrat,Arial,sans-serif;font-size:12px;line-height:16px;color:#98a2b3}
.footer-contact{display:flex;flex-direction:column;gap:16px;width:260.5px;color:#a1a1aa}
.footer-contact h3{font-size:24px;line-height:32px;margin-bottom:8px}
.footer-contact a{display:flex;gap:16px;align-items:center;font-size:14px;line-height:20px;font-weight:600}
.footer-contact a:hover{color:var(--blue)}
.footer-contact svg{width:24px;height:24px;padding:4px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linejoin:round}

/* Reveal: hidden only while JS runs, and always ends fully visible */
.js .reveal{opacity:0;transform:translateY(32px);transition:opacity .9s var(--ease) var(--d,0s),transform .9s var(--ease) var(--d,0s)}
.js .reveal.in{opacity:1;transform:none}

/* ---------- Breakpoints follow the portfolio site ---------- */
@media(max-width:1100px){
  .header nav{gap:12px}
  .glass-link{padding-inline:16px}
  .hero-copy p{font-size:28px;line-height:36px}
  .flow-box{padding:0 48px;gap:40px}
  .flow-step h3{font-size:44px}
  .flow-step>p:not(.flow-eyebrow){font-size:20px;line-height:26px}
  .device{height:520px}
}
@media(max-width:800px){
  :root{--section-gap:100px}
  .wrap{width:calc(100% - 40px)}
  .header{padding-top:24px}
  .header nav{gap:10px}
  .glass-link{display:none}
  .lang-current{padding-inline:12px}
  .header .button{padding-inline:16px;min-height:44px;font-size:14px}
  .header .button-icon{display:none}
  .hero{padding-top:96px}
  h1{font-size:56px}
  h2{font-size:42px}
  .h2-small{font-size:36px}
  .hero-copy p{font-size:24px;line-height:30px}
  .section{gap:48px}
  .section-heading>p{font-size:20px;line-height:26px}
  .flow{height:calc(100svh + 280vh)}
  .flow-stage{top:0}
  .flow-box{width:100%;height:100svh;padding:72px 20px 20px;grid-template-columns:1fr;grid-template-rows:auto 1fr;gap:16px;text-align:center}
  .flow-copy{grid-template-columns:1fr;gap:12px}
  .flow-dots{flex-direction:row;justify-content:center}
  .flow-dots li{width:28px;height:4px}
  .flow-dots li::after{transform:scaleX(var(--fill,0));transform-origin:left}
  .flow-step h3{font-size:28px}
  .flow-step>p:not(.flow-eyebrow){display:none}
  .flow-eyebrow{margin-bottom:4px;font-size:14px}
  .device{height:min(560px,calc(100svh - 230px));justify-self:center;align-self:center}
  .app-card{width:352px}
  .gallery-row.offset{margin-left:176px}
  .service-grid{grid-template-columns:1fr;max-width:500px}
  .metrics-grid{gap:16px}
  .metric{font-size:40px;line-height:44px}
  .metrics-grid p{font-size:14px;line-height:20px}
  .footer{margin-top:120px;padding-bottom:70px}
  .footer-brand{max-width:55%;gap:32px}
  .footer-contact{width:auto}
}
@media(max-width:500px){
  :root{--section-gap:88px}
  .lang-current svg{display:none}
  h1{font-size:40px}
  h2{font-size:34px}
  .h2-small{font-size:30px}
  .hero-copy p{font-size:20px;line-height:26px}
  .section-heading{gap:20px}
  .section-heading>p{font-size:18px;line-height:25px}
  .app-card{width:330px}
  .gallery-row.offset{margin-left:164px}
  .metrics-grid{gap:8px}
  .metric{font-size:32px;line-height:40px}
  .metrics-grid p{font-size:12px;line-height:18px}
  .footer{flex-direction:column;gap:48px;margin-top:100px;padding-bottom:60px}
  .footer-brand{max-width:100%;gap:24px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .js .reveal{opacity:1;transform:none}
  .hero-copy,.hero-hand{opacity:1;transform:none}
}

/* Posita compositions built from the portfolio's section, service-card,
   app-card, button and footer primitives. Media slots are replaced by videos later. */
.hero-copy,.hero-hand{opacity:1;transform:none}
.hero{padding-top:96px}
.section-heading>p{max-width:800px}
.flow{height:calc(625px + 160vh)}
.flow-box{border-radius:24px;grid-template-columns:minmax(0,1fr) 300px;gap:48px;padding:40px 64px}
.media-placeholder{width:100%;min-height:320px;border-radius:24px;background:#ebebec;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:var(--muted);text-align:center;padding:32px;box-shadow:inset 0 0 0 1px #18181b08}
.media-placeholder svg{width:48px;height:48px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;opacity:.6}
.media-placeholder span{font-size:14px;line-height:20px;max-width:180px}
.flow .media-placeholder{background:#18181b;color:#a1a1aa;border:1px solid #ffffff14}
.portrait-placeholder{aspect-ratio:9/19.5;min-height:0;height:100%;max-height:545px;width:auto;justify-self:center;border-radius:36px}
.import-grid .service-card{min-height:190px}
.feature-media{display:grid;grid-template-columns:1fr 1fr;gap:24px;width:100%;align-items:center}
.feature-media>img{max-height:480px;max-width:100%;object-fit:contain;justify-self:center}
.feature-media .media-placeholder{height:100%;min-height:400px}
.privacy-banner{padding:32px;border-radius:24px;background:var(--surface);box-shadow:var(--shadow);display:flex;align-items:center;gap:24px}
.privacy-banner .card-icon{flex:none}
.privacy-banner>div{flex:1}
.privacy-banner p{color:var(--muted);margin-top:8px}
.faq-list{width:min(804px,100%);display:grid;gap:12px}
.faq-item{background:var(--surface);border-radius:24px;box-shadow:var(--shadow);padding:24px}
.faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:24px;cursor:pointer;font-size:18px;font-weight:500;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:focus-visible{outline:3px solid var(--blue);outline-offset:6px;border-radius:4px}
.faq-plus{color:var(--blue);font-size:24px;font-weight:400;transition:transform .2s}
.faq-item[open] .faq-plus{transform:rotate(45deg)}
.faq-item>p{color:var(--muted);margin-top:16px;max-width:660px}
.flow.is-static .flow-box{grid-template-columns:1fr 260px}
.flow.is-static .flow-copy{display:block}
@media(max-width:800px){
.hero{padding-top:64px}
.flow{height:calc(100svh + 140vh)}
.flow-box{width:calc(100% - 40px);height:calc(100svh - 32px);grid-template-columns:1fr;grid-template-rows:auto 1fr;padding:32px 24px;gap:24px}
.flow-stage{top:16px}
.portrait-placeholder{max-height:calc(100svh - 240px);width:auto;height:100%;max-width:100%}
.feature-media{grid-template-columns:1fr}
.feature-media>img{max-height:360px}
.feature-media .media-placeholder{min-height:240px}
.privacy-banner{flex-wrap:wrap;padding:24px;gap:16px}
.privacy-banner>div{flex-basis:70%}
.privacy-banner>a{margin-left:64px}
.flow.is-static .flow-box{grid-template-columns:1fr;padding:32px 24px}
.flow.is-static .flow-step>p:not(.flow-eyebrow){display:block;font-size:18px}
.flow.is-static .portrait-placeholder{height:360px}
.gallery-viewport.is-static .gallery-rows{margin-left:20px}
}

/* Readable without JavaScript; no pinned empty scroll space. */
html:not(.js) .flow{height:auto}
html:not(.js) .flow-stage{position:relative;top:auto}
html:not(.js) .flow-box{height:auto;padding-block:48px}
html:not(.js) .flow-copy{display:block}
html:not(.js) .flow-dots{display:none}
html:not(.js) .flow-steps{display:flex;flex-direction:column;gap:32px}
html:not(.js) .flow-step{opacity:1;transform:none}
@media(max-width:500px){.header{gap:12px}.header .logo img{width:100px;height:auto}.header nav{gap:6px}.header .button{padding-inline:12px}.lang-current{padding-inline:10px}.lang-chevron{width:30px}}
