/* RoGra Tech V3 - luminous brand controls, real viewport layouts, no global scaling.
   Small windows / high browser zoom retain the natural document flow. */
html { overflow-y:auto; scrollbar-gutter:auto; }
.gradient { padding-bottom:.16em; margin-bottom:-.16em; }
.hero h1 { line-height:1.15; }
.hero h1 .gradient { display:inline-block; padding:.01em .08em .19em 0; margin:-.01em -.08em -.19em 0; line-height:1.15; }
.sidebar { border:1px solid transparent; background:linear-gradient(160deg,#103c55f5,#192542f8 46%,#23173bf5) padding-box,linear-gradient(165deg,#47eeff,#788aff 50%,#c08aff) border-box; box-shadow:0 12px 44px #0007,-3px 0 18px #2bddff25,3px 0 23px #b978ff24,inset 1px 0 #b5fbff44; }
.rail-mark { color:#83f4ff; filter:drop-shadow(0 0 9px #3fe6ff88); }
.nav-item { color:#c6dced; }
.nav-item>.icon { color:#8eecff; filter:drop-shadow(0 0 5px #50ccff70); }
.nav-item:nth-child(3)>.icon,.nav-item:nth-child(5)>.icon { color:#d0afff; filter:drop-shadow(0 0 5px #a578ff80); }
.nav-item[aria-current=page] { color:#fff; background:linear-gradient(140deg,#0d97c96b,#5e3baa77); box-shadow:inset 0 0 0 1px #9fd8ffb3,0 0 24px #58baff55,inset 0 0 22px #677eff1f; }
.nav-item[aria-current=page]>.icon { color:#c2fbff; filter:drop-shadow(0 0 7px #76e6ffaa); }
.nav-item[aria-current=page]:before { background:linear-gradient(#7bfbff,#b688ff); box-shadow:0 0 14px #71eaff; }
.nav-item:hover,.nav-item:focus-visible { color:white; background:linear-gradient(140deg,#2683b35c,#67438c55); }
.nav-reveal { background:linear-gradient(130deg,#12364b,#291d44); border-color:#93bafca0; box-shadow:0 10px 30px #0009,0 0 16px #719bff35; }
.nav-caption { font-weight:700; }
.rail-bottom .icon-button { color:#bbe1fb; }
.ticker-chip { border-color:#69dfff88; color:#edfbff; background:linear-gradient(125deg,#15465c,#1b2850); box-shadow:inset 0 1px #c0f8ff30,0 0 14px #29c9ff23; }
.ticker-chip:nth-child(2n) { background:linear-gradient(120deg,#243d6c,#442669); border-color:#aa96ff9c; box-shadow:inset 0 1px #ead0ff30,0 0 15px #9b73ff24; }
.ticker-chip .icon { color:#8bf4ff; filter:drop-shadow(0 0 5px #41d7ff88); }
.ticker-chip:nth-child(2n) .icon { color:#d3b4ff; filter:drop-shadow(0 0 5px #b97aff88); }
.ticker-chip:hover { border-color:#b8faff; box-shadow:0 0 23px #61d8ff55; }
.service-choice { border:1px solid #80b7e36b; background:linear-gradient(125deg,#173b55,#251e40); box-shadow:inset 0 1px #dbecff1f,0 9px 24px #0003; }
.service-choice>.icon:first-child { color:#7beeff; filter:drop-shadow(0 0 7px #46d7ff70); }
.service-choice[data-service=app]>.icon:first-child { color:#c6a1ff; filter:drop-shadow(0 0 7px #a683ff77); }
.service-choice small { color:#c5d4e9; }
.service-choice.active { border-color:#99edff; background:linear-gradient(120deg,#155674,#34306a); box-shadow:inset 4px 0 #78f1ff,inset 0 1px #d2f8ff66,0 0 24px #5487ff35; }
.service-choice:hover { background:linear-gradient(125deg,#20556b,#3f2c60); box-shadow:0 0 26px #8573ff3b; }
.feature-pills>span { background:linear-gradient(120deg,#1d3f534d,#3e2e5c55); color:#d3e5f4; border-color:#89a8d657; }
.system-node { border-color:#87beec88; background:linear-gradient(130deg,#164666,#34255a); box-shadow:inset 0 1px #cce8ff29,0 0 15px #59b7ff24; }
.system-node .icon { color:#9bf0ff; filter:drop-shadow(0 0 6px #7bd7ff88); }
.system-center { border-color:#bdb0ffc9; background:linear-gradient(135deg,#274a78,#62428b); }
/* At laptop/desktop sizes every document occupies the same viewport shell.
   Images are contained, text reflows; no content is removed to suppress scrolling. */
@media screen and (min-width:1100px) and (min-height:600px) {
 :root { --header:clamp(66px,8.3vh,88px); --rail:108px; --footer:40px; --v-gap:clamp(12px,2vh,24px); --v-copy:clamp(15px,1.88vh,20px); }
 .topbar { padding:8px 28px; }
 .brand { width:clamp(215px,19vw,270px); }
 .brand img { height:calc(var(--header) - 18px); }
 .topbar .cta { min-height:46px; padding:10px 23px; font-size:16px; }
 .sidebar { top:calc(var(--header) + 14px); bottom:14px; left:14px; width:80px; padding:10px 0; }
 .rail-mark { height:29px; margin-bottom:8px; }
 .side-nav { gap:5px; }
 .nav-item { height:clamp(59px,8.5vh,85px); }
 .nav-caption { font-size:11px; }
 .nav-item>.icon { width:27px; height:27px; }
 .nav-reveal { left:82px; }
 .rail-bottom { gap:5px; padding-top:6px; }
 .rail-bottom .icon-button { width:35px; height:34px; }
 .page { margin-top:var(--header); height:calc(100dvh - var(--header) - var(--footer)); min-height:0; padding:clamp(12px,2vh,24px) clamp(24px,3.3vw,70px); }
 .page-inner { height:100%; min-height:0; display:grid; grid-template-rows:auto minmax(0,1fr); gap:var(--v-gap); max-width:1800px; }
 .page-heading { margin:0; }
 .page-heading h1 { font-size:clamp(32px,4.65vh,60px); line-height:1.14; }
 .page-heading .eyebrow { margin-bottom:clamp(7px,1.25vh,14px); font-size:11px; }
 .footer { height:var(--footer); min-height:0; padding:8px clamp(24px,3.3vw,70px); display:flex; flex-direction:row; align-items:center; gap:12px; font-size:11px; }
 .footer-links { gap:18px; flex-wrap:nowrap; }
 .footer-links .text-button { font-size:11px; }
 .footer-brand { white-space:nowrap; }
 .review-status { font-size:10px; }
 .home-page .page-inner { grid-template-rows:minmax(0,1fr) auto; gap:7px; }
 .hero { min-height:0; height:100%; grid-template-columns:.88fr 1.12fr; gap:14px; }
 .hero-copy { padding:0; }
 .hero h1 { font-size:clamp(60px,min(6.2vw,10.5vh),116px); line-height:1.12; }
 .hero h1 br { display:initial; }
 .hero-lead { font-size:clamp(18px,2.35vh,26px); line-height:1.48; margin-top:clamp(17px,2.8vh,31px); }
 .hero-values { flex-direction:column; margin-top:clamp(17px,2.8vh,31px); gap:clamp(9px,1.5vh,15px); }
 .hero-values span { font-size:clamp(16px,2.16vh,23px); }
 .universe { height:100%; min-height:0; max-height:800px; margin:0; }
 .main-emblem { width:56%; height:66%; top:51%; }
 .app-satellite { width:clamp(189px,18vw,284px); min-height:0; padding:clamp(12px,1.7vh,21px); gap:12px; }
 .sat-icon { width:clamp(60px,8.7vh,96px); height:auto; aspect-ratio:1; border-radius:21%; }
 .sat-label img { height:clamp(29px,4.2vh,46px); }
 .sat-label small { font-size:clamp(10px,1.35vh,13px); margin-top:7px; }
 .sat-clyaro { top:13%; left:0; }
 .sat-prouddeck { top:4%; right:0; }
 .sat-spg { left:0; bottom:5%; }
 .sat-mind2done { right:0; bottom:16%; }
 .marquee { margin:0; padding:8px 0; }
 .ticker-chip { min-height:0; padding:11px 23px; font-size:clamp(15px,1.92vh,19px); border-radius:15px; }
 .service-layout { min-height:0; height:100%; grid-template-columns:minmax(275px,.72fr) minmax(0,1.5fr); gap:clamp(18px,2.2vw,38px); align-items:stretch; }
 .service-nav { position:static; min-height:0; justify-content:center; gap:clamp(12px,1.9vh,22px); }
 .service-choice { min-height:0; max-height:clamp(115px,16.3vh,175px); flex:1; padding:clamp(16px,2.6vh,28px) 20px; gap:15px; }
 .service-choice strong { font-size:clamp(20px,2.55vh,28px); }
 .service-choice small { font-size:clamp(12px,1.5vh,15px); margin-top:7px; line-height:1.45; }
 .service-stage { min-height:0; height:100%; }
 .service-stage>[role=tabpanel] { height:100%; min-height:0; display:grid; grid-template-rows:minmax(100px,1fr) auto; gap:clamp(10px,1.7vh,20px); }
 .service-stage>#service-software { grid-template-rows:minmax(90px,1fr) auto auto; gap:clamp(7px,1.2vh,15px); }
 .browser-frame { height:100%; min-height:0; display:flex; flex-direction:column; }
 .browser-top { height:clamp(27px,3.6vh,40px); flex:none; }
 .browser-frame>.image-view { flex:1; min-height:0; display:flex; align-items:center; justify-content:center; }
 .image-view img { width:100%; height:100%; object-fit:contain; }
 .service-explanation { padding:0; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:clamp(7px,1vh,12px) 14px; align-items:center; }
 .service-explanation h2 { grid-column:1/-1; font-size:clamp(23px,2.85vh,36px); line-height:1.23; }
 .service-explanation p { grid-column:1/-1; font-size:var(--v-copy); margin:0; line-height:1.45; }
 .service-explanation .feature-pills { margin:0; gap:6px; }
 .service-explanation .feature-pills>span { font-size:clamp(11px,1.35vh,14px); padding:5px 9px; }
 .service-explanation .cta { min-height:40px; padding:8px 14px; font-size:clamp(13px,1.5vh,16px); gap:10px; }
 .service-stage .phones { height:100%; width:100%; min-height:0; }
 .phone { box-shadow:10px 16px 27px #0008; }
 #software-real-image { min-height:0; }
 .system-world { padding:0; min-height:0; gap:8px; }
 .system-node { flex-direction:row; justify-content:center; min-height:0; height:clamp(55px,8.3vh,94px); gap:11px; padding:10px; border-radius:15px; }
 .system-node strong { font-size:clamp(16px,2.1vh,23px); }
 .system-node .icon { width:clamp(23px,3.2vh,33px); height:clamp(23px,3.2vh,33px); }
 .connection-beam { width:18px; }
 .apps-page .page-inner { grid-template-rows:auto auto minmax(0,1fr); }
 .product-nav { margin:0; gap:clamp(11px,1.2vw,22px); }
 .product-tab { min-height:0; padding:clamp(11px,1.7vh,21px) 15px; gap:13px; }
 .product-tab .app-icon { width:clamp(48px,6.7vh,79px); height:auto; aspect-ratio:1; border-radius:24%; }
 .product-tab .wordmark { height:clamp(29px,4.1vh,49px); max-height:none; }
 .product-tab small { font-size:clamp(10px,1.35vh,14px); line-height:1.35; margin-top:5px; }
 .product-panel { height:100%; min-height:0; padding:clamp(17px,2.7vh,34px); gap:clamp(20px,2.4vw,42px); grid-template-columns:.79fr 1.21fr; align-items:stretch; }
 .product-copy { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; min-height:0; }
 .product-wordmark { height:clamp(35px,5.5vh,80px); max-width:min(85%,350px); margin:0 0 clamp(9px,1.7vh,22px); flex:none; }
 .product-copy h2 { font-size:clamp(25px,3.5vh,45px); line-height:1.16; }
 .product-copy>p { font-size:var(--v-copy); line-height:1.45; margin-top:clamp(10px,1.6vh,19px); }
 .product-copy .feature-pills { gap:6px; margin:clamp(10px,1.5vh,19px) 0; }
 .product-copy .feature-pills>span { font-size:clamp(11px,1.35vh,14px); padding:5px 9px; }
 .product-copy .cta { min-height:39px; padding:8px 14px; font-size:clamp(13px,1.65vh,17px); gap:12px; flex:none; }
 .product-gallery { display:grid; grid-template-rows:minmax(0,1fr) auto; gap:clamp(9px,1.5vh,17px); height:100%; min-height:0; }
 #product-visual { min-height:0; height:100%; }
 .product-gallery .phones { height:100%; width:100%; min-height:0; max-width:none; }
 .product-site { height:100%; min-height:0; display:block; }
 .product-site .browser-frame { height:100%; }
 .gallery-controls { margin:0; gap:6px; }
 .media-switch { padding:4px; }
 .media-switch button { font-size:clamp(12px,1.5vh,16px); padding:6px 16px; }
 .gallery-footer { font-size:clamp(10px,1.15vh,13px); line-height:1.35; }
 .referenz-page .page-inner { grid-template-rows:auto minmax(0,1fr) auto; }
 .reference-grid { min-height:0; height:100%; gap:clamp(23px,2.6vw,46px); align-items:stretch; grid-template-columns:.65fr 1.35fr; }
 .reference-copy { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; min-height:0; }
 .ttc-logo { width:clamp(210px,23vw,370px); height:clamp(65px,10.5vh,150px); max-height:none; margin:0 0 clamp(10px,1.8vh,26px); flex:none; }
 .reference-copy h2 { font-size:clamp(26px,3.7vh,46px); line-height:1.17; }
 .reference-copy>p { font-size:var(--v-copy); line-height:1.45; margin-top:clamp(10px,1.6vh,23px); }
 .reference-tags { flex-direction:row; flex-wrap:wrap; gap:10px 18px; margin-top:clamp(10px,1.6vh,22px); }
 .reference-tags>span { font-size:clamp(14px,1.8vh,19px); gap:8px; }
 .reference-tags .icon { width:21px; height:21px; }
 .reference-gallery { display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:clamp(9px,1.4vh,18px); min-height:0; }
 .reference-tabs { margin:0; gap:11px; }
 .reference-tab { padding:9px 15px; font-size:clamp(13px,1.7vh,18px); }
 #reference-visual { min-height:0; height:100%; }
 .reference-subtitle { margin:0; font-size:clamp(10px,1.2vh,13px); line-height:1.4; }
 .reference-note { margin:0; padding-top:clamp(12px,1.8vh,24px); gap:clamp(16px,2.2vw,35px); }
 .reference-note article { display:grid; grid-template-columns:26px minmax(0,1fr); grid-template-rows:auto auto; align-content:start; column-gap:12px; row-gap:6px; }
 .reference-note article>.icon { width:24px; height:24px; grid-column:1; grid-row:1; margin:0; align-self:center; }
 .reference-note h3 { grid-column:2; font-size:clamp(20px,2.5vh,29px); }
 .reference-note p { grid-column:2; margin:0; font-size:clamp(14px,1.75vh,18px); line-height:1.45; }
 .zusammenarbeit-page .page-inner { grid-template-rows:auto minmax(0,1fr) auto; }
 .process-grid { height:100%; min-height:0; margin:0; gap:clamp(12px,1.4vw,24px); }
 .process-card { min-height:0; height:100%; padding:clamp(18px,2.6vh,36px) clamp(17px,1.7vw,30px); display:flex; flex-direction:column; justify-content:center; }
 .process-symbol { width:clamp(47px,7.6vh,82px); height:clamp(47px,7.6vh,82px); border-radius:25%; margin-bottom:clamp(12px,2.3vh,32px); flex:none; }
 .process-symbol .icon { width:clamp(27px,4.1vh,40px); height:clamp(27px,4.1vh,40px); }
 .process-card h2 { font-size:clamp(24px,min(2.15vw,3.45vh),38px); margin-bottom:clamp(9px,1.4vh,18px); }
 .process-card>strong { min-height:0; font-size:clamp(13px,1.65vh,18px); line-height:1.4; }
 .process-card>p { font-size:var(--v-copy); line-height:1.48; margin-top:clamp(10px,1.8vh,23px); }
 .process-card>.icon { top:clamp(30px,5.3vh,64px); right:16px; }
 .final-invite { margin:0; padding:clamp(17px,2.4vh,30px) clamp(23px,2.5vw,42px); gap:20px; }
 .build-next { margin-bottom:clamp(8px,1.3vh,17px); font-size:11px; }
 .final-invite h2 { font-size:clamp(27px,3.7vh,43px); }
 .final-invite p { margin-top:7px; font-size:clamp(15px,1.9vh,20px); }
 .invite-actions { gap:10px; }
 .final-invite .cta { min-height:46px; font-size:clamp(14px,1.75vh,18px); padding:11px 20px; }
 .invite-actions>a { font-size:clamp(14px,1.7vh,18px); }
}
/* Compact desktop height: preserve readable copy while allocating less chrome. */
@media screen and (min-width:1100px) and (min-height:600px) and (max-height:760px) {
 :root { --v-gap:12px; }
 .page { padding-top:12px; padding-bottom:12px; }
 .page-heading h1 { font-size:32px; }
 .page-heading .eyebrow { font-size:10px; margin-bottom:6px; }
 .service-explanation { gap:7px 12px; }
 .service-explanation h2 { font-size:23px; }
 .service-explanation p { font-size:15px; line-height:1.4; }
 .service-explanation .feature-pills>span { font-size:11px; }
 .product-nav .product-tab { padding:10px 12px; gap:10px; }
 .product-tab .app-icon { width:43px; }
 .product-tab .wordmark { height:27px; }
 .product-tab small { font-size:10px; }
 .product-panel { padding:16px 22px; gap:23px; }
 .product-wordmark { height:33px; margin-bottom:9px; }
 .product-copy h2 { font-size:25px; }
 .product-copy>p { font-size:15px; line-height:1.4; margin-top:9px; }
 .product-copy .feature-pills { margin:9px 0; gap:5px; }
 .product-copy .feature-pills>span { padding:4px 8px; font-size:11px; }
 .product-copy .cta { min-height:36px; padding:7px 12px; font-size:13px; }
 .gallery-controls { gap:5px; }
 .media-switch button { padding:5px 13px; }
 .reference-copy h2 { font-size:27px; }
 .reference-copy>p { font-size:15px; line-height:1.4; }
 .ttc-logo { height:65px; margin-bottom:10px; }
 .reference-tags { gap:7px 13px; }
 .reference-tags>span { font-size:14px; }
 .reference-note { padding-top:11px; }
 .reference-note h3 { font-size:20px; }
 .reference-note p { font-size:14px; line-height:1.4; }
 .process-card { padding:18px; }
 .process-symbol { width:44px; height:44px; margin-bottom:12px; }
 .process-card h2 { font-size:24px; margin-bottom:9px; }
 .process-card>strong { font-size:13px; line-height:1.35; }
 .process-card>p { font-size:15px; line-height:1.42; margin-top:10px; }
 .final-invite { padding:16px 23px; }
 .final-invite h2 { font-size:28px; }
 .build-next { margin-bottom:8px; }
}
@media screen and (max-width:1099px),screen and (max-height:599px) {
 /* Native reflow at high zoom / small windows: deliberately do not hide scrollbars. */
 .page { height:auto; }
 .hero h1 .gradient { padding-bottom:.18em; margin-bottom:-.18em; }
}
@media screen and (min-width:1100px) and (max-width:1250px) and (min-height:600px) {
 .product-panel { grid-template-columns:.98fr 1.02fr; gap:17px; padding-left:18px; padding-right:18px; }
 .product-copy h2 { font-size:24px; }
 .product-copy>p { font-size:15px; line-height:1.4; }
 .product-copy .feature-pills { gap:5px; }
 .product-copy .feature-pills>span { padding:4px 7px; font-size:11px; }
 .product-copy .cta { font-size:12px; }
}
@media screen and (min-width:1100px) and (min-height:600px) {
 .product-panel { overflow:visible; }
 .product-panel:before { border-radius:inherit; }
}
/* Keep device proportions when the screen area becomes shorter. */
@media screen and (min-width:1100px) and (min-height:600px) {
 .phones { container-type:size; }
 .phone { --device-h:min(86cqh,60cqw); height:var(--device-h); width:calc(var(--device-h) * .49); max-width:none; left:50%; right:auto; padding:5px; }
 .phone-0 { --device-h:min(82cqh,57cqw); top:9%; transform:translateX(-131%) rotateY(15deg) rotateZ(-7deg); }
 .phone-1 { --device-h:min(97cqh,65cqw); top:0; transform:translateX(-50%) rotateY(-3deg); }
 .phone-2 { --device-h:min(84cqh,58cqw); top:8%; transform:translateX(32%) rotateY(-17deg) rotateZ(8deg); }
 .phone-0:hover { transform:translateX(-131%) translateY(-7px) rotateY(0) rotateZ(0); }
 .phone-1:hover { transform:translateX(-50%) translateY(-7px) rotateY(0); }
 .phone-2:hover { transform:translateX(32%) translateY(-7px) rotateY(0) rotateZ(0); }
}
