/* FOUND collection scenes: gray backing cards, visible people and a shared next step. */
#funktionen .feature{position:relative;}
#funktionen .stage{background:#f2f2ef;}
#funktionen .crew-stage{background:#eeefec;}
.crew-background{position:absolute;top:23%;left:13%;width:76%;height:53%;border-radius:8px;background:#dedfda;padding:11px;transform:rotate(-6deg);opacity:.76;}
.crew-background>div{display:flex;gap:7px;align-items:center;font-size:10px;line-height:1.3;}
.crew-background img{width:29%;aspect-ratio:1;}
.crew-background small{font-size:7px;color:#777;}
.ghost-line{display:block;height:5px;border-radius:7px;width:71%;background:#c4c7be;margin-top:9px;}
.ghost-line:last-child{width:45%;}
#funktionen .crew{position:relative;width:90%;gap:5px;z-index:1;font-size:clamp(10px,4cqw,14px);transform:rotate(0);}
.crew-person{display:flex;align-items:center;gap:7px;background:#fff;border-radius:8px;box-shadow:0 8px 22px #373a3612;padding:7px 9px;width:86%;}
.crew-person>img{width:28px;height:28px;object-fit:cover;border-radius:50%;}
.crew-person>span:nth-child(2){flex:1;}
.crew-person strong{font-size:1em;font-weight:560;display:block;}
.crew-person small,.crew-board small{display:block;font-size:.72em;color:#63645e;margin-top:2px;}
.crew-check{border-radius:50%;background:#e7ecdd;width:20px;height:20px;display:grid;place-content:center;color:#53613c;font-size:11px;}
#funktionen .crew-label{font-size:.72em;color:#565950;min-height:13px;}
#funktionen .crew-board{width:96%;border-radius:8px;justify-content:flex-start;gap:6px;padding:7px;background:white;box-shadow:0 7px 16px #373a3610;}
#funktionen .crew-board>span:nth-child(2){flex:1;}
.collection-icon{display:block;width:25px;flex:none;}
.collection-icon img{height:31px;object-fit:cover;}
#funktionen .crew-board button{font-size:10px;padding:0 8px;min-height:27px;}
#funktionen .crew-people{font-size:.7em;justify-content:flex-start;width:84%;gap:6px;padding-top:4px;}
#funktionen .crew-avatars img{width:19px;height:19px;border-radius:50%;outline:2px solid #f2f2ef;margin-left:-5px;}
#funktionen .crew-avatars img:first-child{margin-left:0;}
#funktionen .crew-label,#funktionen .crew-board,#funktionen .crew-people{animation:none;}
#funktionen .crew-person{animation:crew-card-join 6s var(--arrival) infinite;}
#funktionen .crew-background{animation:crew-back 6s var(--arrival) infinite;}
#funktionen .crew:focus-within .crew-person,#funktionen .crew[data-engaged] .crew-person{animation:none;}
@keyframes crew-card-join{0%,12%,100%{opacity:0;transform:translate(12px,-14px) rotate(4deg)}30%,84%{opacity:1;transform:translate(0,0) rotate(0)}}
@keyframes crew-back{0%,10%,100%{transform:rotate(-6deg) translateY(5px)}40%,83%{transform:rotate(-3deg) translateY(0)}}
#funktionen .discovery-stage{transition:background-color .6s ease;}
#funktionen .discovery-stage[data-tone=blue]{background:#e9edf5;--discovery-ink:#4a61b1;}
#funktionen .discovery-stage[data-tone=orange]{background:#f4e5db;--discovery-ink:#c77e55;}
#funktionen .discovery-stage[data-tone=pink]{background:#f0e2ec;--discovery-ink:#b478a3;}
.discovery-stage .cobalt{background:var(--discovery-ink);}
.tone-selector{position:absolute;top:8px;left:8px;z-index:3;display:flex;background:#ffffffa6;border-radius:30px;padding:2px;}
.tone-selector button{display:grid;place-content:center;background:none;border:0;width:24px;height:27px;cursor:pointer;border-radius:50%;}
.tone-selector span{width:9px;height:9px;border-radius:50%;background:#596db5;}
.tone-selector [data-tone=orange] span{background:#cd8660;}.tone-selector [data-tone=pink] span{background:#bb80ab;}
.tone-selector [aria-pressed=true] span{outline:1px solid #202020;outline-offset:3px;}
.globe-scene{position:relative;width:92%;aspect-ratio:1;}
.globe-scene svg{width:100%;height:100%;overflow:visible;}
.globe-meridian{transform-origin:120px 120px;animation:meridian-roll 9s linear infinite;}
.globe-meridian.other{animation-delay:-3s;}
@keyframes meridian-roll{0%,100%{transform:scaleX(1)}50%{transform:scaleX(.04)}}
.globe-arc{stroke-dasharray:150;stroke-dashoffset:150;animation:globe-connect 6s var(--arrival) infinite;}
@keyframes globe-connect{0%,15%,100%{stroke-dashoffset:150;opacity:0}35%,85%{stroke-dashoffset:0;opacity:1}}
.globe-person{position:absolute;width:19%;aspect-ratio:1;border-radius:50%;padding:3px;background:white;box-shadow:0 4px 16px #0001;}
.globe-person img{height:100%;border-radius:50%;object-fit:cover;}
.globe-person-a{left:18%;top:35%;}.globe-person-b{right:13%;bottom:27%;}
.globe-label{position:absolute;font-size:9px;border-radius:30px;padding:3px 6px;background:white;color:#555;}
.globe-label-a{left:14%;top:56%;}.globe-label-b{right:9%;bottom:20%;}
.globe-link{position:absolute;bottom:8px;font-size:10px;color:#414650;padding:6px 9px;border-radius:30px;background:#ffffffbd;}
@media(prefers-reduced-motion:reduce){#funktionen .crew-person{opacity:1;transform:none;}#funktionen .globe-arc{stroke-dashoffset:0;opacity:1;}}

/* Actual FOUND sign-in world renderer; the old SVG globe is removed. */
#funktionen .globe-stage{background:#151515;isolation:isolate;}
#funktionen .original-world{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;overflow:hidden;}
.original-world canvas{position:absolute;inset:0;width:100%;height:100%;}
.original-world-glow{position:absolute;left:calc(var(--gx) - var(--gr)*1.9);top:calc(var(--gy) - var(--gr)*1.9);width:calc(var(--gr)*3.8);height:calc(var(--gr)*3.8);opacity:.62;background:radial-gradient(closest-side at 32% 36%,rgb(83 107 255 / .62),transparent),radial-gradient(closest-side at 70% 44%,rgb(224 128 233 / .5),transparent),radial-gradient(closest-side at 48% 72%,rgb(255 97 47 / .42),transparent);animation:original-world-orbit 34s ease-in-out infinite alternate;}
.original-world-body{position:absolute;left:calc(var(--gx) - var(--gr));top:calc(var(--gy) - var(--gr));width:calc(var(--gr)*2);height:calc(var(--gr)*2);border-radius:50%;background:radial-gradient(circle at 34% 30%,#262626 0%,#181818 55%,#121212 100%);opacity:.94;}
#funktionen .original-world .globe-person{width:13%;background:linear-gradient(135deg,#536bff,#e080e9,#ff612f);padding:2px;box-shadow:0 10px 28px #0008;}
#funktionen .original-world .globe-person-a{left:13%;top:25%;}
#funktionen .original-world .globe-person-b{right:13%;bottom:25%;}
#funktionen .globe-stage .globe-link{z-index:2;background:#232323cc;color:#f5f4f1;}
@keyframes original-world-orbit{from{transform:rotate(-18deg) scale(1)}to{transform:rotate(32deg) scale(1.07)}}
@media(prefers-reduced-motion:reduce){.original-world-glow{animation:none;}}
.paused .original-world-glow{animation-play-state:paused;}

/* Give the visual demonstrations the scale of the reference editorial cards. */
#funktionen .rail{grid-auto-columns:calc((100% - 32px)/3.15);gap:18px}
#funktionen .feature h3{font-size:clamp(21px,1.8vw,28px);font-weight:500;letter-spacing:-.045em;line-height:1.13;margin-top:18px}
#funktionen .feature>p{font-size:clamp(15px,1.2vw,18px);line-height:1.45;margin-top:10px;max-width:34ch}
#funktionen .stage{border-radius:14px}
@media(max-width:1000px){#funktionen .rail{grid-auto-columns:calc((100% - 18px)/2.15)}}
@media(max-width:620px){#funktionen .rail{grid-auto-columns:88%;gap:14px}#funktionen .feature h3{font-size:23px}#funktionen .feature>p{font-size:16px}#funktionen .stage{border-radius:12px}}

/* Main-page dark edition: matching charcoal canvases and nested UI surfaces. */
html[data-theme=dark] body[data-page=home] #funktionen .stage{background:#252523;color:#f2f0eb}
html[data-theme=dark] body[data-page=home] #funktionen .discovery-stage[data-tone=blue]{background:#252b37;--discovery-ink:#a5b9ff}
html[data-theme=dark] body[data-page=home] #funktionen .discovery-stage[data-tone=orange]{background:#342923;--discovery-ink:#e8ac88}
html[data-theme=dark] body[data-page=home] #funktionen .discovery-stage[data-tone=pink]{background:#322734;--discovery-ink:#ddb2d6}
html[data-theme=dark] body[data-page=home] #funktionen .globe-stage{background:#151515}
html[data-theme=dark] #funktionen :is(.chip,.phone,.crew-person,.crew-board,.team,.orbit-center,.orb){background:#373735;color:#f2f0eb;box-shadow:0 7px 20px #0002}
html[data-theme=dark] #funktionen .crew-background{background:#30322e}
html[data-theme=dark] #funktionen .ghost-line{background:#56594f}
html[data-theme=dark] #funktionen :is(.crew-background small,.crew-person small,.crew-board small,.crew-label){color:#bbbdb5}
html[data-theme=dark] #funktionen .crew-check{background:#42503a;color:#c6dcb2}
html[data-theme=dark] #funktionen .crew-avatars img{outline-color:#252523}
html[data-theme=dark] #funktionen .tone-selector{background:#373735dd}
html[data-theme=dark] #funktionen .tone-selector [aria-pressed=true] span{outline-color:#eeeae3}
html[data-theme=dark] #funktionen .seg button[aria-pressed=true]{color:#191918}
html[data-theme=dark] #funktionen .orbit-center img{filter:invert(1)}
html[data-theme=dark] #funktionen .orb svg{width:54%;height:54%}
html[data-theme=dark] #funktionen .orb svg path{fill:#d4d2cb}

/* The collection action: a person, saved work, and a clear destination. */
#funktionen .crew-stage{background:#f5f4f2}
#funktionen .crew-background{display:none}
#funktionen .crew{width:90%;align-items:flex-start;gap:8px;padding:8px 4px}
#funktionen .crew-person{width:auto;display:flex;align-items:center;gap:8px;padding:0;background:transparent;box-shadow:none;animation:none;border-radius:0}
#funktionen .crew-author{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;background:#eae9e6;border-radius:19px}
#funktionen .crew-author img{width:27px;height:27px;border-radius:50%;object-fit:cover}
#funktionen .crew-author strong{font-size:clamp(18px,6.8cqw,28px);font-weight:510;letter-spacing:-.055em}
#funktionen .crew-action{font-size:clamp(16px,6cqw,25px);font-weight:400;letter-spacing:-.045em}
#funktionen .crew-save-pills{display:flex;align-items:center;gap:6px;width:max-content;max-width:100%;padding:9px 11px;border-radius:18px;background:#eae9e6}
#funktionen .crew-save-pills img{width:clamp(26px,10.5cqw,41px);height:clamp(30px,11.5cqw,45px);object-fit:cover;border-radius:5px;animation:crew-mini-save 7s var(--arrival) infinite;animation-delay:calc(var(--save-order)*.13s)}
#funktionen .crew-label{margin:0 0 -2px 8px;font-size:clamp(15px,5.8cqw,24px);line-height:1.1;color:var(--ink)}
#funktionen .crew-board{width:auto;max-width:100%;padding:9px 11px 9px 15px;border-radius:19px;background:#eae9e6;box-shadow:none;gap:12px;animation:crew-destination 7s ease-in-out infinite}
#funktionen .crew-board .collection-icon{display:none}
#funktionen .crew-board strong{font-size:clamp(18px,6.8cqw,28px);font-weight:440;letter-spacing:-.05em;white-space:nowrap}
#funktionen .crew-board small{font-size:10px;margin-top:3px}
#funktionen .crew-board button{min-height:32px;padding:0 9px;background:#fff;color:#222;border:0;font-size:11px;border-radius:30px}
#funktionen .crew-people{padding:5px 0 0 8px;width:100%;font-size:10px;color:var(--muted)}
#funktionen .crew[data-engaged] :is(.crew-save-pills img,.crew-board){animation:none}
html[data-theme=dark] #funktionen .crew-person{background:transparent;box-shadow:none}
html[data-theme=dark] #funktionen :is(.crew-author,.crew-save-pills,.crew-board){background:#363634;color:#f2f0eb}
html[data-theme=dark] #funktionen .crew-board button{background:#f0efea;color:#292927}
@keyframes crew-mini-save{0%,8%{opacity:.35;transform:translateY(9px) scale(.82)}22%,86%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:.35;transform:translateY(9px) scale(.82)}}
@keyframes crew-destination{0%,30%,100%{transform:scale(1)}40%,50%{transform:scale(1.025)}65%,90%{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){#funktionen :is(.crew-save-pills img,.crew-board){animation:none;opacity:1;transform:none}}
#funktionen .crew{width:max-content;max-width:88%;margin-inline:auto}

/* The same downloaded hardware frame as the Builder scenes. */
#funktionen .phone[data-device-bezel="asset"]{position:absolute;top:12%;left:16%;isolation:isolate;width:68%;height:auto;aspect-ratio:1350/2760;padding:0;border-radius:0;background:none!important;box-shadow:none!important;flex-shrink:0;}
#funktionen .phone-screen{position:absolute;left:5.3333%;top:2.5%;width:89.3333%;height:95%;border-radius:15.75% / 7.25%;padding:15% 5% 5%;overflow:hidden;background:#fff;color:#151515;}
#funktionen .phone-bezel{position:absolute;inset:0;z-index:2;width:100%;height:100%;object-fit:contain;pointer-events:none;}
html[data-theme=dark] #funktionen .phone-screen{background:#242423;color:#f2f0eb;}

/* Capabilities are examples, not a fixed list of professions. */
#funktionen .crew-pairing{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:5px;padding:2px 0 0;width:100%;align-items:center;}
#funktionen .capability-pair{display:flex;align-items:center;gap:5px;min-width:0;}
#funktionen .capability-pill{display:inline-flex;align-items:center;gap:5px;background:#eae9e6;color:#353531;border-radius:9px;padding:7px;font-size:clamp(10px,3.55cqw,14px);white-space:nowrap;}
#funktionen .capability-pill img{width:clamp(13px,4.5cqw,18px);height:clamp(13px,4.5cqw,18px);border-radius:0;object-fit:contain;}
#funktionen .pair-plus{font-size:12px;color:var(--muted);}
#funktionen .pair-next{width:32px;min-height:44px;border:0;background:transparent;color:var(--muted);font-size:22px;cursor:pointer;border-radius:8px;}
html[data-theme=dark] #funktionen .capability-pill{background:#363634;color:#f2f0eb;}
html[data-theme=dark] #funktionen .capability-pill img{filter:invert(.9);}

.tone-selector button{width:38px;height:40px;border-radius:24px;}
.tone-selector button img{width:18px;height:18px;object-fit:contain;}
.tone-selector button[aria-pressed=true]{background:#e4e3de;}
html[data-theme=dark] .tone-selector button[aria-pressed=true]{background:#595952;}
html[data-theme=dark] .tone-selector button img{filter:invert(.9);}

/* On wide screens the feature rail continues to the viewport edge.
   Keep the original content alignment and card dimensions. */
@media(min-width:1001px){
  #funktionen.section{max-width:none;padding-inline-start:calc(max(0px,(100% - 1630px)/2) + var(--edge));padding-inline-end:0}
  #funktionen .section-head{width:calc(100% - var(--edge));max-width:calc(1630px - 2 * var(--edge))}
  #funktionen .rail{grid-auto-columns:calc((min(100vw,1630px) - 2 * var(--edge) - 32px)/3.15)}
}
