/* Rules that cannot live in the inline style attributes of the pages:
   fonts, states, animations, the single breakpoint and the legal layout. */
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/inter-400-latin.8909904ab6.woff2) format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/inter-500-latin.3100e775e8.woff2) format("woff2")}
@font-face{font-family:Sora;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/sora-500-latin.edd010ebf2.woff2) format("woff2")}
/* Declared as 400 only: the diagrams ask for 500 and must render at 400, as the design does. */
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/jetbrains-mono-400-latin.83c005d49d.woff2) format("woff2")}

html{scroll-behavior:smooth}
body{margin:0;background:#fff}
a{color:#0B0B0C}
a:hover{color:#5a564e}
[data-nav]{color:#fff;background:transparent;border-bottom:1px solid transparent;transition:background .25s,color .25s,border-color .25s}
[data-nav][data-scrolled="true"]{background:#fff;color:#0B0B0C;border-bottom-color:rgba(11,11,12,.12)}
[data-logo="black"]{display:none}
[data-scrolled="true"] [data-logo="white"]{display:none}
[data-scrolled="true"] [data-logo="black"]{display:block}
/* Language switch: the page's own language is underlined and carries aria-current. */
[data-langbtn]{opacity:.62;text-decoration:none;cursor:pointer}
[data-langbtn][aria-current]{opacity:1;text-decoration:underline;text-underline-offset:5px}
[data-nav] a:hover,[data-nav] button:hover{opacity:.65}
[data-portalis][data-playing] [data-pstep]:not([data-active]){opacity:.4}
[data-pstep]:focus-visible{outline:1px solid #fff;outline-offset:4px}
@keyframes durinZoom{from{transform:scale(1)}to{transform:scale(1.09)}}
[data-motion="on"] [data-zoom]{animation:durinZoom 32s ease-in-out infinite alternate;will-change:transform}
[data-motion="on"] [data-reveal]{opacity:0;transform:translateY(14px);transition:opacity .7s ease,transform .7s ease}
[data-motion="on"] [data-reveal][data-in]{opacity:1;transform:none}
[data-c1-panel]{aspect-ratio:4/3}
[data-social]{height:22px}[data-social="yt"]{height:40.85px;margin:0 -8.13px}
[data-badge]{width:auto;height:48px}[data-badge="app"]{height:51px}
@media(max-width:760px){[data-hide-s]{display:none}[data-c1-panel]{aspect-ratio:1/1}[data-badge]{height:44px}[data-badge="app"]{height:47px}[data-social]{height:24px}[data-social="yt"]{height:44.56px;margin:0 -8.87px}}

/* Hover states */
.hv-1:hover{background:#F4EFE6 !important}
.hv-2:hover{background:#2d2b27 !important}
.hv-3:hover{opacity:.65 !important}
.hv-4:hover{opacity:.6 !important}
.hv-5:hover{text-decoration:underline !important}

/* Arrows and separators come from the fonts, as in the design, but the
   source stays ASCII. */
[data-g="arrow"]::before{content:"\2192"}
[data-g="dash"]::before{content:"\2014"}
[data-g="dot"]::before{content:"\00B7"}

/* Form states: the wrappers use display:contents inline, so hidden needs !important. */
[data-state][hidden],[data-form-error][hidden],[data-field-error][hidden]{display:none!important}
[data-form-error],[data-field-error]{margin:12px 0 0;font-size:14px;line-height:1.5;color:#2d2b27}
button[disabled]{cursor:progress!important;opacity:.6!important}
/* Trap field for bots, kept out of sight and out of the tab order. */
[data-hp]{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}

/* Rein C1 viewer: the poster stays on top until the viewer reports its first frame. */
[data-c1-panel]{position:relative}
[data-c1-poster]{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block;transition:opacity .4s ease}
[data-c1-panel][data-ready] [data-c1-poster]{opacity:0;pointer-events:none}
[data-c1-panel] iframe{opacity:0;transition:opacity .4s ease}
[data-c1-panel][data-ready] iframe{opacity:1}

/* Libreta walkthrough: a native modal dialog over a black backdrop. Steps
   sit side by side in a scroll-snap track, so touch swipes move them. */
[data-tour]{box-sizing:border-box;width:min(560px,100% - 32px);max-width:none;max-height:100%;margin:auto;padding:0;border:0;background:transparent;color:#fff;overflow:auto;overscroll-behavior:contain}
[data-tour]::backdrop{background:#0B0B0C}
[data-tour-box]{display:flex;flex-direction:column;gap:20px;padding:16px 0}
[data-tour-head]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.3)}
[data-tour-head] h2{font-family:Sora,sans-serif;font-weight:500;font-size:22px;line-height:1.2;letter-spacing:-.02em;margin:0}
[data-tour] button{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:0;background:transparent;color:#fff;cursor:pointer}
[data-tour] button:hover{opacity:.65}
[data-tour] button:focus-visible{outline:1px solid #fff;outline-offset:2px}
[data-tour] button[aria-disabled="true"]{opacity:.3;cursor:default}
[data-tour-close]{margin-right:-12px}
[data-tour-track]{display:flex;margin:0;padding:0;list-style:none;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none}
[data-tour-track]::-webkit-scrollbar{display:none}
[data-tour-step]{flex:0 0 100%;min-width:0;scroll-snap-align:center;scroll-snap-stop:always;display:flex;flex-direction:column;align-items:center;text-align:center}
[data-tour-phone]{box-sizing:border-box;width:min(300px,72%,max(140px,(100dvh - 330px) * .46));box-shadow:0 0 0 1px rgba(255,255,255,.3)}
[data-tour-step] h3{font-family:Sora,sans-serif;font-weight:500;font-size:22px;line-height:1.2;letter-spacing:-.02em;margin:24px 0 8px}
[data-tour-step] p{margin:0;max-width:36ch;color:#e6e3da}
[data-tour-nav]{display:flex;align-items:center;justify-content:space-between;padding-top:12px;border-top:1px solid rgba(255,255,255,.3)}
[data-tour-count]{font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.14em}
[data-tour-prev]{margin-left:-11px}
[data-tour-next]{margin-right:-11px}
@media (prefers-reduced-motion:no-preference){[data-tour-track]{scroll-behavior:smooth}}

/* Legal pages and 404 */
[data-legal]{background:#F4EFE6;padding:calc(68px + clamp(56px,8vw,120px)) clamp(20px,4vw,56px) clamp(72px,10vw,150px)}
[data-legal] article{max-width:680px}
[data-legal] h1{font-family:Sora,sans-serif;font-weight:500;font-size:clamp(30px,3.8vw,54px);line-height:1.05;letter-spacing:-.035em;margin:0}
[data-legal] .legal-date{margin:18px 0 0;font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#2d2b27}
[data-legal] h2{font-family:Sora,sans-serif;font-weight:500;font-size:22px;letter-spacing:-.02em;margin:clamp(40px,5vw,56px) 0 12px;padding-top:18px;border-top:1px solid #0B0B0C}
[data-legal] p,[data-legal] li{color:#2d2b27}
[data-legal] p{margin:0 0 14px}
[data-legal] ul{margin:0 0 14px;padding-left:1.2em}
[data-legal] li{margin:0 0 8px}
[data-legal] a{text-underline-offset:4px}
[data-notfound]{min-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:28px;background:#F4EFE6;padding:96px clamp(20px,4vw,56px)}
[data-notfound] h1{font-family:Sora,sans-serif;font-weight:500;font-size:clamp(30px,3.8vw,54px);line-height:1.05;letter-spacing:-.035em;margin:0}
[data-notfound] p{margin:0;font-size:18px}
